Sql Query Create Table With Foreign