Difference between revisions of "Database Table: schools"
From Dreamwidth Notes
(Created page with 'schools =Definition= <source lang="sql"> CREATE TABLE `schools` ( `schoolid` int(10) unsigned NOT NULL default '0', `name` varchar(200) BINARY NO...') |
Dreamnestia (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | = Definition = | |
− | =Definition= | + | |
<source lang="sql"> | <source lang="sql"> | ||
CREATE TABLE `schools` ( | CREATE TABLE `schools` ( | ||
Line 14: | Line 14: | ||
</source> | </source> | ||
− | =Relationships= | + | = Relationships = |
+ | |||
+ | = Location = | ||
− | |||
[[Global database]] | [[Global database]] | ||
+ | |||
+ | [[Category: Database Tables|schools]] |
Revision as of 14:23, 1 April 2009
Definition
CREATE TABLE `schools` ( `schoolid` INT(10) UNSIGNED NOT NULL DEFAULT '0', `name` VARCHAR(200) BINARY NOT NULL DEFAULT '', `country` VARCHAR(4) NOT NULL DEFAULT '', `state` VARCHAR(100) BINARY DEFAULT NULL, `city` VARCHAR(100) BINARY NOT NULL DEFAULT '', `url` VARCHAR(255) DEFAULT NULL, PRIMARY KEY (`schoolid`), UNIQUE KEY `country` (`country`,`state`,`city`,`name`) )