Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Given Schema: SALESPERSON ( Eid , Name, Start _ year, Dept _ no ) TRIP ( Eid , From _ city, To _ city, Departure

Given Schema:
SALESPERSON(Eid, Name, Start_year, Dept_no)
TRIP(Eid, From_city, To_city, Departure_date, Return_date, Trip_id)
EXPENSE(Trip_id, Account#, Amount)
1.Print the eid of employees who took trips to Goa.
2.Print the total trip expenses incurred by the salesperson with Eid =234567.
3.Give the details (all attributes of trip relation) for trips that exceeded Rs 20,000 in expenses.
4.List cities visited by at least two different employees.

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_2

Step: 3

blur-text-image_3

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

The Database Management Systems

Authors: Patricia Ward, George A Dafoulas

1st Edition

1844804526, 978-1844804528

More Books

Students also viewed these Databases questions

Question

What are the different techniques used in decision making?

Answered: 1 week ago

Question

=+What is the nature of the plant or site-level role of unions?

Answered: 1 week ago