This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE IF EXISTS [city]; | |
CREATE TABLE city ( | |
[id] int CHECK ([id] > 0) NOT NULL, | |
[province_id] int CHECK ([province_id] > 0) NOT NULL, | |
[name] varchar(200) NOT NULL | |
) ; | |
INSERT INTO city ([id], [province_id], [name]) VALUES | |
(1, 1, 'تبريز'), | |
(2, 1, 'كندوان'), |