-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtrip.sql
More file actions
57 lines (47 loc) · 1.33 KB
/
trip.sql
File metadata and controls
57 lines (47 loc) · 1.33 KB
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
-- phpMyAdmin SQL Dump
-- version 5.2.1
-- PHP Version: 8.2.12
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";
--
-- Database: `travel_form`
--
-- --------------------------------------------------------
--
-- Table structure for table `trip`
--
CREATE TABLE `trip` (
`sno` int(3) NOT NULL,
`name` text NOT NULL,
`age` int(3) NOT NULL,
`gender` varchar(8) NOT NULL,
`email` varchar(22) NOT NULL,
`phone` varchar(10) NOT NULL,
`desc` text NOT NULL,
`dt` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `trip`
--
INSERT INTO `trip` (`sno`, `name`, `age`, `gender`, `email`, `phone`, `desc`, `dt`) VALUES
(1, 'testname', 21, 'male', 'this@this.com', '9999999999', 'this is my first PHP Project', '2025-04-03 19:01:49'),
(2, 'ABC', 21, 'male', 'abc@mail.com', '9999999900', 'I am ABC and I am interested in this trip', '2025-04-03 19:34:12'),
(7, 'Je', 33, 'male', 'd@gamail.com', 's', '', '2025-04-03 19:43:34');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `trip`
--
ALTER TABLE `trip`
ADD PRIMARY KEY (`sno`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `trip`
--
ALTER TABLE `trip`
MODIFY `sno` int(3) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
COMMIT;