0% found this document useful (0 votes)
13 views8 pages

Tourism

This document contains the SQL code to create 5 tables for a tourism management system database. The tables created are: 1) An "admin" table to store admin login credentials 2) A "tblbooking" table to store customer bookings with package and user details 3) A "tblenquiry" table to store customer enquiries 4) A "tblissues" table to log customer issues 5) A "tblpages" table to store website content like terms, privacy policy, about us pages
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views8 pages

Tourism

This document contains the SQL code to create 5 tables for a tourism management system database. The tables created are: 1) An "admin" table to store admin login credentials 2) A "tblbooking" table to store customer bookings with package and user details 3) A "tblenquiry" table to store customer enquiries 4) A "tblissues" table to log customer issues 5) A "tblpages" table to store website content like terms, privacy policy, about us pages
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Tourism Management System

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";

SET AUTOCOMMIT = 0;

START TRANSACTION;

SET time_zone = "+00:00";

Table 1 :
CREATE TABLE `admin` (

`id` int(11) NOT NULL,

`UserName` varchar(100) DEFAULT NULL,

`Password` varchar(100) DEFAULT NULL,

`updationDate` timestamp NULL DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `admin` (`id`, `UserName`, `Password`, `updationDate`) VALUES

(1, 'admin', 'f925916e2754e5e03f75dd58a5733251', '2020-05-11 11:18:49');

Table 2:
CREATE TABLE `tblbooking` (

`BookingId` int(11) NOT NULL,

`PackageId` int(11) DEFAULT NULL,

`UserEmail` varchar(100) DEFAULT NULL,

`FromDate` varchar(100) DEFAULT NULL,

`ToDate` varchar(100) DEFAULT NULL,

`Comment` mediumtext DEFAULT NULL,

`RegDate` timestamp NULL DEFAULT current_timestamp(),


`status` int(11) DEFAULT NULL,

`CancelledBy` varchar(5) DEFAULT NULL,

`UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `tblbooking` (`BookingId`, `PackageId`, `UserEmail`, `FromDate`, `ToDate`, `Comment`,


`RegDate`, `status`, `CancelledBy`, `UpdationDate`) VALUES

(1, 1, '[email protected]', '2020-07-11', '2020-07-18', 'I want this package.', '2020-07-08 06:38:36', 2, 'u',
'2020-07-08 06:53:45'),

(2, 2, '[email protected]', '2020-07-10', '2020-07-13', 'There is some discount', '2020-07-08 06:43:25', 1,


NULL, '2020-07-08 06:52:44'),

(3, 4, '[email protected]', '2020-07-11', '2020-07-15', 'When I get conformation', '2020-07-08 06:44:39', 2,


'a', '2020-07-08 06:49:55');

Table 3:
CREATE TABLE `tblenquiry` (

`id` int(11) NOT NULL,

`FullName` varchar(100) DEFAULT NULL,

`EmailId` varchar(100) DEFAULT NULL,

`MobileNumber` char(10) DEFAULT NULL,

`Subject` varchar(100) DEFAULT NULL,

`Description` mediumtext DEFAULT NULL,

`PostingDate` timestamp NULL DEFAULT current_timestamp(),

`Status` int(1) DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `tblenquiry` (`id`, `FullName`, `EmailId`, `MobileNumber`, `Subject`, `Description`,


`PostingDate`, `Status`) VALUES

(1, 'Jone Paaire', '[email protected]', '4646464646', 'Enquiry for Manali Trip', 'Kindly provide me more
offer.', '2020-07-08 06:30:32', 1),
(2, 'Kishan Twaerea', '[email protected]', '6797947987', 'Enquiry', 'Any Offer for North Trip', '2020-07-08
06:31:38', NULL),

(3, 'Jacaob', '[email protected]', '1646689721', 'Any offer for North', 'Any Offer for north', '2020-07-08
06:32:41', 1);

Table 4:
CREATE TABLE `tblissues` (

`id` int(11) NOT NULL,

`UserEmail` varchar(100) DEFAULT NULL,

`Issue` varchar(100) DEFAULT NULL,

`Description` mediumtext DEFAULT NULL,

`PostingDate` timestamp NULL DEFAULT current_timestamp(),

`AdminRemark` mediumtext DEFAULT NULL,

`AdminremarkDate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `tblissues` (`id`, `UserEmail`, `Issue`, `Description`, `PostingDate`, `AdminRemark`,


`AdminremarkDate`) VALUES

(1, NULL, NULL, NULL, '2020-07-08 06:33:20', NULL, NULL),

(2, NULL, NULL, NULL, '2020-07-08 06:33:56', NULL, NULL),

(3, NULL, NULL, NULL, '2020-07-08 06:34:20', NULL, NULL),

(4, NULL, NULL, NULL, '2020-07-08 06:34:38', NULL, NULL),

(5, NULL, NULL, NULL, '2020-07-08 06:35:06', NULL, NULL),

(6, '[email protected]', 'Booking Issues', 'I am not able to book package', '2020-07-08 06:36:03', 'Ok, We
will fix the issue asap', '2020-07-08 06:55:22'),

(7, '[email protected]', 'Refund', 'I want my refund', '2020-07-08 06:56:29', NULL, NULL);
Table 5:
CREATE TABLE `tblpages` (

`id` int(11) NOT NULL,

`type` varchar(255) DEFAULT '',

`detail` longtext DEFAULT NULL

) ENGINE=MyISAM DEFAULT CHARSET=latin1;

INSERT INTO `tblpages` (`id`, `type`, `detail`) VALUES

(1, 'terms', ' <p


align=\"justify\"><font size=\"2\"><strong><font color=\"#990000\">(1) ACCEPTANCE OF
TERMS</font><br><br></strong>Welcome to Yahoo! India. 1Yahoo Web Services India Private Limited
Yahoo\", \"we\" or \"us\" as the case may be) provides the Service (defined below) to you, subject to the
following Terms of Service (\"TOS\"), which may be updated by us from time to time without notice to
you. You can review the most current version of the TOS at any time at: <a
href=\"http://in.docs.yahoo.com/info/terms/\">http://in.docs.yahoo.com/info/terms/</a>. In addition,
when using particular Yahoo services or third party services, you and Yahoo shall be subject to any
posted guidelines or rules applicable to such services which may be posted from time to time. All such
guidelines or rules, which maybe subject to change, are hereby incorporated by reference into the TOS.
In most cases the guides and rules are specific to a particular part of the Service and will assist you in
applying the TOS to that part, but to the extent of any inconsistency between the TOS and any guide or
rule, the TOS will prevail. We may also offer other services from time to time that are governed by
different Terms of Services, in which case the TOS do not apply to such other services if and to the extent
expressly excluded by such different Terms of Services. Yahoo also may offer other services from time to
time that are governed by different Terms of Services. These TOS do not apply to such other services that
are governed by different Terms of Service. </font></p>\r\n<p align=\"justify\"><font
size=\"2\">Welcome to Yahoo! India. Yahoo Web Services India Private Limited Yahoo\", \"we\" or \"us\"
as the case may be) provides the Service (defined below) to you, subject to the following Terms of
Service (\"TOS\"), which may be updated by us from time to time without notice to you. You can review
the most current version of the TOS at any time at: </font><a
href=\"http://in.docs.yahoo.com/info/terms/\"><font
size=\"2\">http://in.docs.yahoo.com/info/terms/</font></a><font size=\"2\">. In addition, when using
particular Yahoo services or third party services, you and Yahoo shall be subject to any posted guidelines
or rules applicable to such services which may be posted from time to time. All such guidelines or rules,
which maybe subject to change, are hereby incorporated by reference into the TOS. In most cases the
guides and rules are specific to a particular part of the Service and will assist you in applying the TOS to
that part, but to the extent of any inconsistency between the TOS and any guide or rule, the TOS will
prevail. We may also offer other services from time to time that are governed by different Terms of
Services, in which case the TOS do not apply to such other services if and to the extent expressly
excluded by such different Terms of Services. Yahoo also may offer other services from time to time that
are governed by different Terms of Services. These TOS do not apply to such other services that are
governed by different Terms of Service. </font></p>\r\n<p align=\"justify\"><font size=\"2\">Welcome
to Yahoo! India. Yahoo Web Services India Private Limited Yahoo\", \"we\" or \"us\" as the case may be)
provides the Service (defined below) to you, subject to the following Terms of Service (\"TOS\"), which
may be updated by us from time to time without notice to you. You can review the most current version
of the TOS at any time at: </font><a href=\"http://in.docs.yahoo.com/info/terms/\"><font
size=\"2\">http://in.docs.yahoo.com/info/terms/</font></a><font size=\"2\">. In addition, when using
particular Yahoo services or third party services, you and Yahoo shall be subject to any posted guidelines
or rules applicable to such services which may be posted from time to time. All such guidelines or rules,
which maybe subject to change, are hereby incorporated by reference into the TOS. In most cases the
guides and rules are specific to a particular part of the Service and will assist you in applying the TOS to
that part, but to the extent of any inconsistency between the TOS and any guide or rule, the TOS will
prevail. We may also offer other services from time to time that are governed by different Terms of
Services, in which case the TOS do not apply to such other services if and to the extent expressly
excluded by such different Terms of Services. Yahoo also may offer other services from time to time that
are governed by different Terms of Services. These TOS do not apply to such other services that are
governed by different Terms of Service. </font></p>\r\n
'),

(2, 'privacy', ' <span


style=\"color: rgb(0, 0, 0); font-family: &quot;Open Sans&quot;, Arial, sans-serif; font-size: 14px; text-
align: justify;\">At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium
voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate
non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est
eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas
assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum
necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae. Itaque
earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur
aut perferendis doloribus asperiores repellat</span>\r\n
'),

(3, 'aboutus', '<div><span style=\"color: rgb(0, 0, 0); font-family: Georgia; font-size: 15px; text-align:
justify; font-weight: bold;\">Welcome to Tourism Management System!!!</span></div><span
style=\"font-family: &quot;courier new&quot;;\"><span style=\"color: rgb(0, 0, 0); font-size: 15px; text-
align: justify;\">Since then, our courteous and committed team members have always ensured a
pleasant and enjoyable tour for the clients. This arduous effort has enabled Shreya Tour &amp; Travels to
be recognized as a dependable Travel Solutions provider with three offices Delhi.</span><span
style=\"color: rgb(80, 80, 80); font-size: 13px;\">&nbsp;We have got packages to suit the discerning
traveler\'s budget and savor. Book your dream vacation online. Supported quality and proposals of our
travel consultants, we have a tendency to welcome you to decide on from holidays packages and
customize them according to your plan.</span></span>'),

(11, 'contact', '


<span style=\"color: rgb(0, 0, 0); font-
family: &quot;Open Sans&quot;, Arial, sans-serif; font-size: 14px; text-align: justify;\">Address------J-890
Dwarka House New Delhi-110096</span>');

Table 6:
CREATE TABLE `tbltourpackages` (

`PackageId` int(11) NOT NULL,

`PackageName` varchar(200) DEFAULT NULL,

`PackageType` varchar(150) DEFAULT NULL,

`PackageLocation` varchar(100) DEFAULT NULL,

`PackagePrice` int(11) DEFAULT NULL,

`PackageFetures` varchar(255) DEFAULT NULL,

`PackageDetails` mediumtext DEFAULT NULL,

`PackageImage` varchar(100) DEFAULT NULL,

`Creationdate` timestamp NULL DEFAULT current_timestamp(),

`UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()

) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `tbltourpackages` (`PackageId`, `PackageName`, `PackageType`, `PackageLocation`,


`PackagePrice`, `PackageFetures`, `PackageDetails`, `PackageImage`, `Creationdate`, `UpdationDate`)
VALUES

(1, 'Swiss Paris Delight Premium 2020 (Group Package)', 'Group Package', 'Paris and Switzerland', 6000, '
Round trip Economy class airfare valid for the duration of the holiday - Airport taxes - Accommodation
for 3 nights in Paris and 3 nights in scenic Switzerland - Enjoy continental breakfasts every morning -
Enjoy 5 Indian dinners in Mainland Europe - Exp', 'Pick this holiday for a relaxing vacation in Paris and
Switzerland. Your tour embarks from Paris. Enjoy an excursion to popular attractions like the iconic Eiffel
Tower. After experiencing the beautiful city, you will drive past mustard fields through Burgundy to reach
Switzerland. While there, you can opt for a tour to Interlaken and then to the Trummelbach Falls.
Photostop at Zurich Lake and a cable car ride to Mt. Titlis are the main highlights of the holiday.',
'1581490262_2_1.jpg', '2020-07-08 05:21:58', NULL),

(2, 'Bhutan Holidays - Thimphu and Paro Special', 'Family Package', 'Bhutan', 3000, 'Free Wi-fi, Free
Breakfast, Free Pickup and drop facility ', 'Visit to Tiger\'s Nest Monastery | Complimentary services of a
Professional Guide', 'BHUTAN-THIMPU-PARO-PUNAKHA-TOUR-6N-7D.jpeg', '2020-07-08 05:37:40',
'2020-07-08 06:09:01'),
(3, 'Soulmate Special Bali - 7 Nights', 'Couple Package', 'Indonesia(Bali)', 5000, 'Free Pickup and drop
facility, Free Wi-fi , Free professional guide', 'Airport transfers by private car | Popular Sightseeing
included | Suitable for Couple and budget travelers', '1583140977_5_11.jpg', '2020-07-08 05:41:07',
'2020-07-09 05:23:27'),

(4, 'Kerala - A Lovers Paradise - Value Added', 'Family Package', 'Kerala', 1000, 'Free Wi-fi, Free pick up
and drop facility,', 'Visit Matupetty Dam, tea plantation and a spice garden | View sunset in Kanyakumari
| AC Car at disposal for 2hrs extra (once per city)', 'images (2).jpg', '2020-07-08 05:45:58', NULL),

(5, 'Short Trip To Dubai', 'Family', 'Dubai', 4500, 'Free pick up and drop facility, Free Wi-fi, Free breakfast',
'A Holiday Package for the entire family.', 'unnamed.jpg', '2020-07-08 05:49:13', NULL),

(6, 'Sikkim Delight with Darjeeling (customizable)', 'Group', 'Sikkim', 3500, 'Free Breakfast, Free Pick up
drop facility', 'Changu Lake and New Baba Mandir excursion | View the sunrise from Tiger Hill | Get
Blessed at the famous Rumtek Monastery', 'download (2).jpg', '2020-07-08 05:51:26', NULL),

(7, '6 Days in Guwahati and Shillong With Cherrapunji Excursion', 'Family Package', 'Guwahati(Sikkim)',
4500, 'Breakfast, Accommodation » Pick-up » Drop » Sightseeing', 'After arrival at Guwahati airport
meet our representative & proceed for Shillong. Shillong is the capital and hill station of Meghalaya, also
known as Abode of Cloud, one of the smallest states in India. En route visit Barapani lake. By afternoon
reach at Shillong. Check in to the hotel. Evening is leisure. Spent time as you want. Visit Police bazar.
Overnight stay at Shillong.', '95995.jpg', '2020-07-08 05:54:42', NULL),

(8, 'Grand Week in North East - Lachung, Lachen and Gangtok', 'Domestic Packages', 'Sikkim', 4500, 'Free
Breakfast, Free Wi-fi', 'Changu Lakeand New Baba Mandir excursion | Yumthang Valley tour |
Gurudongmar Lake excursion | Night stay in Lachen', 'download (3).jpg', '2020-07-08 06:05:24', NULL),

(9, 'Gangtok & Darjeeling Holiday (Without Flights)', 'Family Package', 'Sikkim', 1000, 'Free Wi-fi, Free
pickup and drop facility', 'Ideal tour for Family | Sightseeing in Gangtok and Darjeeling | Full day
excursion to idyllic Changu Lake | Visit to Ghoom Monastery',
'1540382781_shutterstock_661867435.jpg.jpg', '2020-07-08 06:07:48', NULL);

Table 7:
CREATE TABLE `tblusers` (

`id` int(11) NOT NULL,

`FullName` varchar(100) DEFAULT NULL,

`MobileNumber` char(10) DEFAULT NULL,

`EmailId` varchar(70) DEFAULT NULL,

`Password` varchar(100) DEFAULT NULL,

`RegDate` timestamp NULL DEFAULT current_timestamp(),

`UpdationDate` timestamp NULL DEFAULT NULL ON UPDATE current_timestamp()


) ENGINE=InnoDB DEFAULT CHARSET=latin1;

INSERT INTO `tblusers` (`id`, `FullName`, `MobileNumber`, `EmailId`, `Password`, `RegDate`,


`UpdationDate`) VALUES

(1, 'Manju Srivatav', '4456464654', '[email protected]', '202cb962ac59075b964b07152d234b70', '2020-


07-08 06:33:20', NULL),

(2, 'Kishan', '9871987979', '[email protected]', '202cb962ac59075b964b07152d234b70', '2020-07-08


06:33:56', NULL),

(3, 'Salvi Chandra', '1398756416', '[email protected]', '202cb962ac59075b964b07152d234b70', '2020-07-


08 06:34:20', NULL),

(4, 'Abir', '4789756456', '[email protected]', '202cb962ac59075b964b07152d234b70', '2020-07-08


06:34:38', NULL),

(5, 'Test', '1987894654', '[email protected]', 'f925916e2754e5e03f75dd58a5733251', '2020-07-08


06:35:06', '2021-05-11 04:37:41');

You might also like