Skip to content

Instantly share code, notes, and snippets.

View neomede's full-sized avatar

Rubén Simón Andreo neomede

View GitHub Profile
@neomede
neomede / cities.sql
Last active August 29, 2015 14:06
SQL files to create countries, the Spanish states and his cities
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `city`
-- ----------------------------
DROP TABLE IF EXISTS `city`;
CREATE TABLE `city` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`state_id` int(11) DEFAULT NULL,
`postal_code` int(11) NOT NULL,