Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a salesrep table that has columns salesrepid, salesrepfirstname, salesreplastname Insert 5 rows of data into the salesrep table (salesrepid and all rows of data
Create a salesrep table that has columns salesrepid, salesrepfirstname, salesreplastname Insert 5 rows of data into the salesrep table (salesrepid and all rows of data should be unique) . Create a booking table that has columns bookingid, customerid, trainid, sourcecity, destinationcity, price, salesrepid Insert 20 rows of data into the booking table (when you insert data for trainid make sure the trainid is present in the trains table. Similarly when you insert data for customerid, make sure the customertid is present in the customer table and salesrepid in the salesrep table.) When you add data to the booking table envision booking a ticket from source city to destination city. Each customer can make more than one booking
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started