-
Notifications
You must be signed in to change notification settings - Fork 0
/
event_db.sql
207 lines (167 loc) · 6.86 KB
/
event_db.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Apr 21, 2023 at 11:46 PM
-- Server version: 10.4.24-MariaDB
-- PHP Version: 7.4.29
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
--
-- Database: `event_db`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE TABLE `admin` (
`sno.` int(10) NOT NULL,
`admin_name` varchar(20) NOT NULL,
`admin_password` varchar(10) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `admin`
--
INSERT INTO `admin` (`sno.`, `admin_name`, `admin_password`) VALUES
(1, 'admin', 'admin@123');
-- --------------------------------------------------------
--
-- Table structure for table `events`
--
CREATE TABLE `events` (
`sno` int(11) NOT NULL,
`Eventname` varchar(200) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
`location` varchar(300) NOT NULL,
`description` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `events`
--
INSERT INTO `events` (`sno`, `Eventname`, `date`, `time`, `location`, `description`) VALUES
(1, 'Iphone15 Launch', '2023-04-21', '20:02:00', 'William Halls, Los Angeles,California', 'Apple is launching its new iphone 15 with its new features and there will be grand launch event for the iPhone lovers.Hope you all enjoy the event'),
(2, 'Oppo reno 10 Pro Launch', '2023-05-25', '18:39:00', 'Hitech Towers, Jubilee Hills,Hyderabad', 'This is the launch event of Oppo Reno 10 Pro by the Oppo company.The CEO along with the Brand ambassador of Oppo will join the event'),
(5, 'Mark Cuban Business Summit ', '2023-06-23', '16:55:10', 'Afilia Hall,Losangeles,California', 'It is a business Summit by the great enterpreneur,angel investor,billionaire i.e Mark cuban.He will share share some of the lessons about his Startup journey.'),
(6, 'IQOO Flagship smartphone launch', '2023-07-21', '06:06:00', 'Sadar house,Pune', 'It is the launch event for IQOO flagship smartphone that is famous for gaming is to be launched on this Day.'),
(7, 'Google Developers Meet', '2023-06-27', '12:30:00', 'Sadar house,Pune', 'It is the developers meet for google developers where they discuss about future prospects about artificial intelligence and Other AI tools.'),
(8, 'Arjit Singh Concert', '2023-06-28', '18:26:00', 'Sangeet Towers,Mumbai', 'It is singing concert by Arjit Singh who is the greatest singer and one of the top singers with most number of hit songs in the modern era.');
-- --------------------------------------------------------
--
-- Table structure for table `invoice`
--
CREATE TABLE `invoice` (
`id` int(6) NOT NULL,
`name` varchar(30) NOT NULL,
`email` varchar(30) NOT NULL,
`date` date NOT NULL,
`time` time NOT NULL,
`location` varchar(70) NOT NULL,
`ticket` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `invoice`
--
INSERT INTO `invoice` (`id`, `name`, `email`, `date`, `time`, `location`, `ticket`) VALUES
(623145, 'Mukesh Ambani Ted Talk', '[email protected]', '2023-06-15', '19:12:43', 'Antilia Towers, Bandra, Mumbai,India', 3),
(0, 'Mark Cuban Business Summit', '[email protected]', '2023-05-17', '20:32:00', 'Astrax towers,Hyderabad', 3),
(337892, 'Mukesh Ambani Ted Talk', '[email protected]', '2023-04-12', '20:42:00', 'Afilia Halls,Los Angels,California', 3),
(466389, 'Aman Dhattarwal Ted talk', '[email protected]', '2023-04-26', '16:43:00', 'Hitech Towers,Jubilee Hills,Hyderabad', 2),
(250120, 'Google Developers Meet', '[email protected]', '2023-05-18', '20:45:00', 'Afilia Halls,Los Angels,California', 2),
(581185, 'Mukesh Ambani Ted Talk', '[email protected]', '2023-05-24', '19:45:00', 'Astrax towers,Hyderabad', 3);
-- --------------------------------------------------------
--
-- Table structure for table `review`
--
CREATE TABLE `review` (
`sno` int(18) NOT NULL,
`name` varchar(29) NOT NULL,
`email` varchar(29) NOT NULL,
`message` text NOT NULL,
`dt` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `review`
--
INSERT INTO `review` (`sno`, `name`, `email`, `message`, `dt`) VALUES
(1, 'Rocky', '[email protected]', 'here is something I wanna say The event was amazing last time', '2023-04-07 05:50:05'),
(2, 'rohan', '[email protected]', 'You should change the process of operations', '2023-04-07 19:04:02'),
(3, 'harish', '[email protected]', 'You have to improve the loading time', '2023-04-07 19:15:51'),
(4, 'supriyesh', '[email protected]', 'here is how you can change the interface of the website', '2023-04-11 17:07:22');
-- --------------------------------------------------------
--
-- Table structure for table `users`
--
CREATE TABLE `users` (
`Sno` int(30) NOT NULL,
`Name` varchar(30) NOT NULL,
`username` varchar(23) NOT NULL,
`Email` varchar(23) NOT NULL,
`password` varchar(15) NOT NULL,
`Dt` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`Sno`, `Name`, `username`, `Email`, `password`, `Dt`) VALUES
(1, 'harish agrawal', 'harish10', '[email protected]', 'harish100', '2023-04-07 03:25:41'),
(2, 'sebrina', 'serina10', '[email protected]', 'Serina1234', '2023-04-07 03:34:55'),
(3, 'sabrina watts', 'sabrina19', '[email protected]', 'Saban12', '2023-04-07 03:36:13'),
(5, 'robert jones', 'robertj56', '[email protected]', 'robertj', '2023-04-11 17:34:08');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER TABLE `admin`
ADD PRIMARY KEY (`sno.`);
--
-- Indexes for table `events`
--
ALTER TABLE `events`
ADD PRIMARY KEY (`sno`);
--
-- Indexes for table `review`
--
ALTER TABLE `review`
ADD PRIMARY KEY (`sno`);
--
-- Indexes for table `users`
--
ALTER TABLE `users`
ADD PRIMARY KEY (`Sno`),
ADD UNIQUE KEY `username` (`username`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admin`
--
ALTER TABLE `admin`
MODIFY `sno.` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
--
-- AUTO_INCREMENT for table `events`
--
ALTER TABLE `events`
MODIFY `sno` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=9;
--
-- AUTO_INCREMENT for table `review`
--
ALTER TABLE `review`
MODIFY `sno` int(18) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `Sno` int(30) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;