Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Fundamentals Of Operational Risk Management

Authors: Simon Ashby

1st Edition

1398605042, 978-1398605046

More Books

Students also viewed these General Management questions

Question

Explain the main elements of a sustainable work system

Answered: 1 week ago

Question

Explain the nature of paid work

Answered: 1 week ago