0% found this document useful (0 votes)
11 views19 pages

Dominos 024609

The document details the creation of a database called Dominos with various tables like Customer, Bestsellers, NewLaunches etc. to store information about customers, pizzas, drinks and other items available on the Dominos menu. Tables are created with appropriate columns and sample data is inserted. Queries are provided to view the contents of each table.

Uploaded by

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

Dominos 024609

The document details the creation of a database called Dominos with various tables like Customer, Bestsellers, NewLaunches etc. to store information about customers, pizzas, drinks and other items available on the Dominos menu. Tables are created with appropriate columns and sample data is inserted. Queries are provided to view the contents of each table.

Uploaded by

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

Create database Dominos

Database Dominos

Tables Customer, Bestsellers, NewLaunches, VegPizza, GourmetPizza,


NonVegPizza, Beverages, SpeaciliatyChicken, Sides, PizzaMania,
Dessert, Delivery, Pick up/Dine In

Customer table contains, customer details like


name contact number and email id

Bestsellers,NewLaunches,VegPizza,GourmetPizza,
NonVegPizza,Beverages,SpeaciliatyChicken,Sides,P
izzaMania,Dessert these tables contains all the
details regarding price, type, size all such details
about pizza.

Delievery table contains details about pizza’s or


other eatables, tax and charges, discounts and final
price.
Customer

Customer table

Create table customer (Name varchar(20), mobile_num bigint, email_id varchar(30));

Inserting the data


Insert into customer values (“Vishnu”,9110681542,”[email protected]”),
(“Vinaya”,6361733836,”[email protected]”),(“Rahul”,9482875531,”[email protected]”);

Name Mobile_num Email_id


Vishnu 9110681542 [email protected]
Vinaya 6361733836 [email protected]
Rahul 9482875531 [email protected]
To Display Customer Details

Select * from customer;


Insert into customer(Name)
values (“Names”);

Insert into customer(email_id)


values (“emailid”);

Insert into customer(mobile_num) values (“Mobile Number”);


Create table bestseller (pizza_name varchar(50),price
int, size varchar(10), crust varchar(50));

Insert into bestseller values ("Primavera Gourmet


Pizza",699,"Medium","New Hand Tossed"),("Smokked Chicken
Gourmet",849,"Medium","New Hand Tossed"),
("Margherita",239,"Medium","New Hand Tossed"),
("FarmHouse",459,"Medium","New Hand Tossed"),("Peppy
Paneer",459,"Medium","New Hand Tossed"),("Veg
Extraveganza",549,"Medium","New Hand Tossed");

To view the bestseller menu Select * from bestseller;


Create table NewLaunches (pizza_name varchar(50),price
int,
size varchar(10),crust varchar(50));
Insert into NewLaunches values ("Corn n Cheese
Paratha Pizza",179,"Regular","100% Wheat Thin
Crust"),("Paneer Paratha Pizza",209,"Regular","100%
Wheat Thin Crust"),("Chicken Keema Paratha
Pizza",249,"Regular","100% Wheat Thin Crust"),
("Caprese Gourmet Pizza",699,"Medium","New Hand
Tossed"),("Primavera Gourmet
Pizza",699,"Medium","New Hand Tossed"),("AI Fungi
Gourmet Pizza",699,"Medium","New Hand Tossed");

To View NewLaunches table Select * from NewLaunches;


Create table VegPizza (pizza_name varchar(50),price int,size
varchar(10),
crust varchar(50));
Insert into VegPizza values ("The 4 Cheese
Pizza",639,"Medium","New Hand Tossed"),("Corn n Cheese
Paratha Pizza",179,"Regular","100% Wheat Thin Crust"),
("Paneer Partaha Pizza",209,"Regular","100% Wheat Thin
Crust"),("Caprese Gourmet Pizza",699,"Medium","New Hand
Tossed"),("AI Fungi Gourmet Pizza",699,"Medium","New Hand
Tossed"),("The 5 Cheese Gourmet Pizza",699,"Medium","New
Hand Tossed");

To View VegPizza menu Select * from VegPizza;


Create table GourmetPizza (pizza_name varchar(50),price
int,
size varchar(10),crust varchar(50));
Insert into GourmetPizza values ("Caprese Gourmet
Pizza",699,"Medium","New Hand Tossed"),("Primavera
Gourmet Pizza",699,"Medium","New Hand Tossed"),("AI
Fungi Gourmet Pizza",699,"Medium","New Hand
Tossed"),("Chicken Salami Gourmet
Pizza",849,"Medium","New Hand Tossed"),("Chicken
Pepporoni Gourmet Pizza",849,"Medium","New Hand
Tossed"),("Smoked Chicken Gourmet
Pizza",849,"Medium","New HAnd Tossed");

To View GourmetPizza menu Select * from GourmetPizza;


Create table NonVegPizza (pizza_name varchar(50),price
int,
size varchar(10),crust varchar(50));
Insert into NonVegPizza values ("Chicken Keema Paratha
Pizza",249,"Regular","100% Wheat Thin Crust"),
("Chicken salami Gourmet Pizza",849,"Medium","New
Hand Tossed"),("Chicken Pepporoni Gourmet
Pizza",849,"Medium","New Hand Tossed"),("Pepper
Barbeque Chicken",449,"Medium","New Hand TOssed"),
("Chicken Dominator",599,"Medium","New Hand
TOssed"),("Smoked Chicken Gourmet
Pizza",849,"Medium","New Hand Tossed");

To View NonVegPizza Select * from NonVegPizza;


Create table Beverages (drink_name varchar(30),price
varchar(5));

Insert into Beverages value ("Nagpur Orange","Rs.70"),


("Pepsi","Rs.60"),("7UP","Rs.60"),("Miranda","Rs.60"),
("Pepsi Black Can","Rs.60"),("B Natural
Alphonso","Rs.70");

To View Beverages menu Select * from Beverages;


Create table ChickenSpeciality (ch_name varchar(80),
price varchar(10));

Insert into ChickenSpeciality values ("Roasted chicken


wings peri-peri","Rs.169"),("Roasted Chicken wings -
classic hot sauce","Rs.169"),("Chicken Meatball Peri-
Peri Seasoning","Rs.149"),("Boneless Chicken wings
Peri-Peri","Rs,179"),("Chicken Meatballs Peri-Peri
Sauce","Rs149");

To View ChickenSpeciality Select * from ChickenSpeciality;


Create table Sides (sides_name varchar(80),price
varchar(10));

Insert into Sides values ("Garlic Breadsticks","Rs.109"),


("Classic Stuffed Garlic Bread","Rs.159"),("Paneer Tikka
Stuffed Garlic Bread","Rs.169"),("Chicken Pepporoni
Stuffed Garlic Bread","Rs.169"),("Cheesy Dip","Rs.30"),
("Taco Mexican Wrap","Rs.139");

To View Sides Menu Select * from Sides;


Create table PizzaMania (pizza_name varchar(80),price
int,
size varchar(10),crust varchar(50));

Insert into PizzaMania values ("Chicken Keema &


Onion with Desi Makhani
sauce",139,"Regular","Classic Hand Tossed"),
("Paneer Onion & Capsicum with desi Makhan
Sauce",129,"Regular","Classic Hand Tossed"),("Non
Veg Loaded",169,"Regular","Fresh Pan Pizza"),("Veg
Loaded",159,"Regular","Fresh Pan Pizza"),("Paneer &
Capsicum with Videshi Hot
Sauce",109,"Regular","Classic Hand Tossed"),
("Cpasicum & Red Paprika with Videshi Makhan
Sauce",89,"Regular","Classic Hand Tossed");
To View PizzaMania menu Select * from PizzaMania;
Create table Desserts (Des_name varchar(80),price
varchar(10));

Insert into Desserts values ("Red Velvet Lava


Cake","Rs.139"),("Choco Lava Cake","Rs.109"),
("Butterscotch Mousse Cake","Rs.109"),("Brownie
Fantasy","Rs.79");

To View Dessert menu Select * from Desserts;


Create table pickupordinein_city (city varchar(20));

Insert into pickupordinein_city values


("NewDelhi"),("Bangalore"),("Chennai"),("Hyderabad"),
("MUMBAI");

Select * from city;

Create table pickupordinein_store Select * from Store;


(store varchar(50),store2 varchar(50),store3 varchar(50));

Insert into pickupordinein_store values


("GreenPark","JANAKPURI","KAMLANAGAR"),("HSR
Layout","RT Nagar","LULU MALL Banagalore"),
("CHROMPET","Beach Castle","ADYAR"),("L&T Mall","HI-Tech-
II","ATTAPUR"),("NESCO Center","BANDRA","SIERRA TOWER");
Create table Delievery (Address varchar(100));

Insert into Delivery values (“Address”);


Create table Price_details (SubTotal int,sellprice int,GST int,
Delievery int,GrandTotal int);

Select subtotal-sellprice as
To get discount
discount from price_detail;

To get Taxes Select GST + Delievery as


and charges "Taxes_charges" from
Price_details;

To get Select
GrandTotal Subtotal+GST+delievery
as "GrandTotal" from
Price_details1;
THANK YOU
Software used

MySql

Project Name Dominos


Project Duration 30hrs
Mentor Mr.Helvin Project by : Vishnu

You might also like