Skip to content

Instantly share code, notes, and snippets.

@danhper
Last active August 29, 2015 14:13
Show Gist options
  • Save danhper/7af14759bbe59649543f to your computer and use it in GitHub Desktop.
Save danhper/7af14759bbe59649543f to your computer and use it in GitHub Desktop.
prefecture Japan
use tabelog_data;
INSERT INTO `prefectures` (`name`)
VALUES ('北海道'), ('青森'), ('岩手'), ('宮城'), ('秋田'), ('山形'),
('福島'), ('茨城'), ('栃木'), ('群馬'), ('埼玉'), ('千葉'),
('東京'), ('神奈川'), ('新潟'), ('富山'), ('石川'), ('福井'),
('山梨'), ('長野'), ('岐阜'), ('静岡'), ('愛知'), ('三重'),
('滋賀'), ('京都'), ('大阪'), ('兵庫'), ('奈良'), ('和歌山'),
('鳥取'), ('島根'), ('岡山'), ('広島'), ('山口'), ('徳島'),
('香川'), ('愛媛'), ('高知'), ('福岡'), ('佐賀'), ('長崎'),
('熊本'), ('大分'), ('宮崎'), ('鹿児島'), ('沖縄');
INSERT INTO `prices` (`lower_range`, `upper_range`)
VALUES (0, 999), (1000, 1999), (2000, 2999), (3000, 3999),
(4000, 4999), (5000, 5999), (6000, 7999), (8000, 9999),
(10000, 14999), (15000, 19999), (20000, 29999), (30000, 100000000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment