Syntax For Creating Table In Sql With Function