Created
June 16, 2014 09:48
-
-
Save mkhairul/1c42dbff75027b8f6e7b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CREATE TABLE IF NOT EXISTS `states` ( | |
`id` int(10) unsigned NOT NULL AUTO_INCREMENT, | |
`iso` varchar(10) DEFAULT '0', | |
`code` varchar(10) DEFAULT '0', | |
`name` varchar(255) DEFAULT '0', | |
`category` varchar(50) DEFAULT '0', | |
PRIMARY KEY (`id`) | |
) ENGINE=MyISAM DEFAULT CHARSET=utf8; | |
INSERT INTO `states` (`id`, `iso`, `code`, `name`, `category`) VALUES | |
(1, 'MY', 'MY-14', ' Wilayah Persekutuan Kuala Lumpur', 'federal territory'), | |
(2, 'MY', 'MY-15', ' Wilayah Persekutuan Labuan', 'federal territory'), | |
(3, 'MY', 'MY-16', ' Wilayah Persekutuan Putrajaya', 'federal territory'), | |
(4, 'MY', 'MY-01', ' Johor', 'state'), | |
(5, 'MY', 'MY-02', ' Kedah', 'state'), | |
(6, 'MY', 'MY-03', ' Kelantan', 'state'), | |
(7, 'MY', 'MY-04', ' Melaka', 'state'), | |
(8, 'MY', 'MY-05', ' Negeri Sembilan', 'state'), | |
(9, 'MY', 'MY-06', ' Pahang', 'state'), | |
(10, 'MY', 'MY-08', ' Perak', 'state'), | |
(11, 'MY', 'MY-09', ' Perlis', 'state'), | |
(12, 'MY', 'MY-07', ' Pulau Pinang', 'state'), | |
(13, 'MY', 'MY-12', ' Sabah', 'state'), | |
(14, 'MY', 'MY-13', ' Sarawak', 'state'), | |
(15, 'MY', 'MY-10', ' Selangor', 'state'), | |
(16, 'MY', 'MY-11', ' Terengganu', 'state'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment