You must use the Access database and create queries that will answer the request
ID: 3725566 • Letter: Y
Question
You must use the Access database and create queries that will answer the requests below. You may use direct SQL to create the queries. Store them using the number of the question (Q1, Q2, etc.).
Obtain the titles, categories and discount of all “Mathematics” books that were ordered and given a discount bigger than 5%. 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 Title,Category,percentageDiscount from Book,OrderLine,Order where Category = 'Mathematics' and PercentageDiscount > 0.05;
The required attributes are extracted from tables Book,OrderLine and Order
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.