0% found this document useful (0 votes)
9 views2 pages

Tourism Management System (Rishit)

rishit

Uploaded by

paparom452
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Tourism Management System (Rishit)

rishit

Uploaded by

paparom452
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Toursim Management System

1.Sign up page for new user

CREATE TABLE users (

User_id VARCHAR(40) PRIMARY KEY,

first_name VARCHAR(100) NOT NULL,

last_name VARCHAR(100),

email VARCHAR(255) UNIQUE NOT NULL,

password VARCHAR(255) NOT NULL,

phone_number VARCHAR(15)

);

2.destinations Table

CREATE TABLE destinations (

Destination_id VARCHAR(20) PRIMARY KEY,

Name VARCHAR(30) NOT NULL,

Country VARCHAR(20),

State VARCHAR(30),

City VARCHAR(30)

);

3.hotels Table

CREATE TABLE hotels (

hotel_id VARCHAR(30) PRIMARY KEY,

name VARCHAR(255) NOT NULL,

address VARCHAR(255),

rating DECIMAL(3, 2),

phone_number VARCHAR(15)

);

4. Packages Table

CREATE TABLE Packages(

Package_id VARCHAR(20) PRIMARY KEY,

Places VARCHAR(100) PRIMARY KEY,

Start-Date DATE,

END-Date DATE,
Toursim Management System
Price DECIMAL(10,2),

Available_slots INT,

Description VARCHAR(255)

);

You might also like