-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfreelancerdb.sql
57 lines (40 loc) · 2.03 KB
/
freelancerdb.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
SQLyog Community Edition- MySQL GUI v8.04
MySQL - 5.0.37-community-nt : Database - freelancerdb
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`freelancerdb` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `freelancerdb`;
/*Table structure for table `employer` */
DROP TABLE IF EXISTS `employer`;
CREATE TABLE `employer` (
`ename` varchar(25) NOT NULL,
`epassword` varchar(25) default NULL,
`company` varchar(25) default NULL,
`email` varchar(30) default NULL,
`phone` decimal(10,0) default NULL,
`city` varchar(20) default NULL,
PRIMARY KEY (`ename`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `employer` */
insert into `employer`(`ename`,`epassword`,`company`,`email`,`phone`,`city`) values ('bawa','bawa','new','abc@gmail.com','1234567890','indore'),('company1','123','company one','asadj@mail.com','123456789','indore'),('company2','HELLO','New international','newint@mail.com','12354584','indore');
/*Table structure for table `freelancer` */
DROP TABLE IF EXISTS `freelancer`;
CREATE TABLE `freelancer` (
`fname` varchar(25) NOT NULL,
`fpassword` varchar(25) default NULL,
`fullname` varchar(25) default NULL,
`email` varchar(30) default NULL,
`age` decimal(3,0) default NULL,
`phone` decimal(10,0) default NULL,
`city` decimal(20,0) default NULL,
PRIMARY KEY (`fname`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `freelancer` */
insert into `freelancer`(`fname`,`fpassword`,`fullname`,`email`,`age`,`phone`,`city`) values ('aman','111','aman','asssd','21','156515166','0'),('gaurav','12345','gaurav gupta','gau@gmail.com','21','1234567899','0');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;