-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathebank.sql
77 lines (57 loc) · 2.96 KB
/
ebank.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
/*
SQLyog Ultimate v11.11 (32 bit)
MySQL - 5.5.11 : Database - ebank
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!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' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`ebank` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `ebank`;
/*Table structure for table `deposit` */
DROP TABLE IF EXISTS `deposit`;
CREATE TABLE `deposit` (
`fname` varchar(100) DEFAULT NULL,
`username` varchar(100) DEFAULT NULL,
`accno` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `deposit` */
insert into `deposit`(`fname`,`username`,`accno`) values ('nirmal','nirmal','1800'),('jith','jith','9080'),('Bala','Bala','0413'),('arun','arun','2019');
/*Table structure for table `info` */
DROP TABLE IF EXISTS `info`;
CREATE TABLE `info` (
`fname` varchar(100) DEFAULT NULL,
`username` varchar(100) DEFAULT NULL,
`password` varchar(100) DEFAULT NULL,
`gender` varchar(100) DEFAULT NULL,
`address` varchar(100) DEFAULT NULL,
`city` varchar(100) DEFAULT NULL,
`state` varchar(100) DEFAULT NULL,
`nation` varchar(100) DEFAULT NULL,
`accno` varchar(100) DEFAULT NULL,
`amount` double DEFAULT NULL,
`otp` varchar(30) DEFAULT NULL,
`email` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `info` */
insert into `info`(`fname`,`username`,`password`,`gender`,`address`,`city`,`state`,`nation`,`accno`,`amount`,`otp`,`email`) values ('arun','arun','arun','male','puducherry','puducherry','puducherry','India','2019',0,'82','[email protected]'),('nirmal','nirmal','nirmal','male','puducherry','puducherry','puducherry','India','1800',0,'12','[email protected]'),('jith','jith','jith','male','puducherry','puducherry','puducherry','India','9080',0,'21','[email protected]'),('bala','bala','bala','male','puducherry','puducherry','puducherry','India','0413',0,'98','[email protected]');
/*Table structure for table `ministate` */
DROP TABLE IF EXISTS `ministate`;
CREATE TABLE `ministate` (
`id` varchar(100) DEFAULT NULL,
`fname` varchar(100) DEFAULT NULL,
`username` varchar(100) DEFAULT NULL,
`accno` varchar(100) DEFAULT NULL,
`amount` double DEFAULT NULL,
`time` varchar(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `ministate` */
insert into `ministate`(`id`,`fname`,`username`,`accno`,`amount`,`time`) values ('953','arun','arun','2019',5000,'Wed Oct 11 11:59:00 IST 2019');
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
depositinfoinfodepositinfoinfodepositinfoinfodepositinfo