Вы находитесь на странице: 1из 2

-- phpMyAdmin SQL Dump

-- version 2.11.9.2
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Sep 16, 2010 at 10:37 AM
-- Server version: 5.0.67
-- PHP Version: 5.2.6
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
--
-- Database: `proj`
--
-- --------------------------------------------------------
--
-- Table structure for table `all`
--
CREATE TABLE IF NOT EXISTS `all` (
`name` varchar(50) NOT NULL,
`number` bigint(10) NOT NULL,
`id` int(50) NOT NULL,
`feedback` varchar(60) NOT NULL,
`email` varchar(50) NOT NULL,
`area` varchar(50) NOT NULL,
`contact` varchar(50) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `all`
--
INSERT INTO `all` (`name`, `number`, `id`, `feedback`, `email`, `area`, `contact
`) VALUES
('lavanya', 98989898, 1, 'dfasdfsf', 'lavanya@gmail.com', 'dfdf', 'dfasfasf');
-- --------------------------------------------------------
--
-- Table structure for table `college`
--
CREATE TABLE IF NOT EXISTS `college` (
`collegename` varchar(50) NOT NULL,
`subcat_id` int(10) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `college`
--
INSERT INTO `college` (`collegename`, `subcat_id`) VALUES
('Jeyaraj Chellathurai College', 1),
('Theni College of Arts and Science', 1),
('Theni Kammavar Sangam College of Education.', 1),
('Govt Polytechnic College,', 2),
('Thangam-Muthu Polytechnic', 2),
('Theni Kammavar Sangam Polytechnic college', 2),
('Bharath Niketan Engineering College', 3),
('Odaiyappa College of Engineering and Technology', 3),
('Theni Kammavar Sangam engineering college', 3),
('American College', 4),
('Fathima College', 4),
('Lady Doak College ', 4),
('K. L. N College of Engineering', 6),
('Thiagarajar college of Engineering', 6),
('Arulmigu Kallazhagar Polytechni College ', 5),
('Latha Madhavan Polytechnic College', 5);
-- --------------------------------------------------------
--
-- Table structure for table `dept`
--
CREATE TABLE IF NOT EXISTS `dept` (
`subcat_id` int(3) NOT NULL auto_increment,
`cat_id` int(2) NOT NULL default '0',
`deptname` varchar(25) NOT NULL default '',
UNIQUE KEY `subcat_id` (`subcat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Dumping data for table `dept`
--
INSERT INTO `dept` (`subcat_id`, `cat_id`, `deptname`) VALUES
(1, 1, 'arts and science'),
(2, 1, 'polytechnic'),
(3, 1, 'engineering'),
(4, 2, 'arts and science'),
(5, 2, 'polytecnic'),
(6, 2, 'engineering');
-- --------------------------------------------------------
--
-- Table structure for table `district`
--
CREATE TABLE IF NOT EXISTS `district` (
`dname` varchar(50) NOT NULL,
`cat_id` int(10) NOT NULL,
PRIMARY KEY (`cat_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Dumping data for table `district`
--
INSERT INTO `district` (`dname`, `cat_id`) VALUES
('theni', 1),
('madurai', 2);

Вам также может понравиться