You must use the Access database and create queries that will answer the request
ID: 3725563 • 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 names and addresses of all customers who ordered a book by Susan Colley. Avoid repetitions.
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 PercentageOiscountExplanation / Answer
Select distinct CustomerName,CustomerAddress from Customer ,Order,OrderLine,Book,Wrote,Author where Customer.CustomerID = Order.CustomerID and Order.OrderNo = OrderLine.OrderNo and OrderLine.ISBN = Book.ISBN and Book.ISBN = Wrote.ISBN and Wrote.AuthorID = Author.AuthorID and FirstName = 'Susan' and LastName = "Colley";
or
Select distinct CustomerName,CustomerAddress from Customer ,Order,OrderLine,Book,Wrote,Author where FirstName = 'Susan' and LastName = "Colley";
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.