Question

Date: This is the take home portion of your exam. It is due on the following class. Total Points:15 1. Examine the tables and relationship diagram below. Answer the questions that follow Relationship Diagram Titles Location!D EmplayeelD TaleNamae Employees Table 2016-01-3001581000 eming Mc Key Location Table LocationlD Location Address State 430 Peachtree Road 3 Commons Blvd 15 Forbes Avenue 3750 River Road 3495 Fifth Awenue, Suite 33998 4Montgomery Street 404) 333-5555 517) 1214444 412) 555-1111 816) 555-9998 212) 555-6654 (419 555-3757 30316 MA PA Mo NY MA NURL L02 L05 LDS NULL etsburgh Kansas City New York San Francisco NULL 15219 64101 0029 94102
media%2F833%2F83360cc4-0c83-44f0-b36b-99
media%2Fe07%2Fe0732246-3f6b-4f64-81d2-6f
0 0
Add a comment Improve this question Transcribed image text
Answer #1

a. select e.LastName, e.FirstName from Employees e, Location l where e.LocationID=l.LocationID and l.State='MO';

b.

LastName FirstName
Fleming Karen
Daniels Phil

c. if we need to select the Value dynamically rather than static mode. We have to write the query as

  • select e. LastName, e. FirstName from Employees e, Location l where e. LocationID=l.LocationID and l.state=&state;

d. because for each employee the minimum salary is greater than 20000. So each and every record in the employee table and their corresponding data will be printed.

LastName FirstName State EducationRequired MinimumSalary
Lacher Tom GA FourYear Degree 25000
Fantis Lauries MA Four years Degree 25000

Like this other employees information in the employees is also printed.

Image is not clear that's why it us unable to write whole table.

Add a comment
Know the answer?
Add Answer to:
Date: This is the take home portion of your exam. It is due on the following...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT