SQL Table for All States in India



— Table structure for table `all_states`

CREATE TABLE IF NOT EXISTS `all_states` (
`state_id` int(10) NOT NULL AUTO_INCREMENT,
`state_name` varchar(75) DEFAULT NULL,
UNIQUE KEY `state_id` (`state_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=36 ;


— Dumping data for table `all_states`

INSERT INTO `all_states` (`state_id`, `state_name`) VALUES
(1, ‘Andaman and Nicobar Islands’),
(2, ‘Andhra Pradesh’),
(3, ‘Arunachal Pradesh’),
(4, ‘Assam’),
(5, ‘Bihar’),
(6, ‘Chandigarh’),
(7, ‘Chhattisgarh’),
(8, ‘Dadra and Nagar Haveli’),
(9, ‘Daman and Diu’),
(10, ‘Delhi’),
(11, ‘Goa’),
(12, ‘Gujarat’),
(13, ‘Haryana’),
(14, ‘Himachal Pradesh’),
(15, ‘Jammu and Kashmir’),
(16, ‘Jharkhand’),
(17, ‘Karnataka’),
(18, ‘Kerala’),
(19, ‘Lakshadweep’),
(20, ‘Madhya Pradesh’),
(21, ‘Maharashtra’),
(22, ‘Manipur’),
(23, ‘Meghalaya’),
(24, ‘Mizoram’),
(25, ‘Nagaland’),
(26, ‘Orissa’),
(27, ‘Pondicherry’),
(28, ‘Punjab’),
(29, ‘Rajasthan’),
(30, ‘Sikkim’),
(31, ‘Tamil Nadu’),
(32, ‘Tripura’),
(33, ‘Uttaranchal’),
(34, ‘Uttar Pradesh’),
(35, ‘West Bengal’);

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s