Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You must use the Access database and create queries that will answer the request

ID: 3725573 • Letter: Y

Question

You must use the Access database and create queries that will answer the requests below. You may use Query by Example (QBE) or direct SQL to create the queries. Store them using the number of the question (Q1, Q2, etc.).

Obtain the First Name, Initials and Last Name of all second authors whose books were ordered by customers.


We're not using Join or Join In functions. Just SELECT, FROM, WHERE, ORDER BY, and SORT BY Thanks!

Book Wrote Author Authorid AuthornD FrstName nitials Category AuthorRank OrderLine Order Customer OrderNo OrderRank ISEN CustomerName CustomerAddress Stato OrderDeliveryCate Quanbty PercentageOiscount

Explanation / Answer

Answer)

Obtain the First Name, Initials and Last Name of all second authors whose books were ordered by customers.

select FirstName, Initials, LastName from Author where AuthorID in(
select AuthorId from Wrote where AuthorRank=2 and ISBN in(
select ISBN from Book where ISBN in (
select distinct ISBN from OrderLine;
)
)
);

// From the subqueries we get the ISBN, then we use AurhotRank =2 to find the First Name, Initials and Last Name of all second authors.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote