Question: Create the following queries using Data Manipulation Language (DML) student must be able to explain the queries: Find the total number of feedback per book.

Create the following queries using Data Manipulation Language (DML) student must beable to explain the queries: Find the total number of feedback perbook. Show book id, book title, and total number of feedback perbook. Find the total number of feedback per member. Show member id,member name, and total number of feedback per member. Find the totalCreate the following queries using Data Manipulation Language (DML) student must be able to explain the queries:

number of book published by each publisher. Show publisher id, publisher name,

Find the total number of feedback per book. Show book id, book title, and total number of feedback per book.

Find the total number of feedback per member. Show member id, member name, and total number of feedback per member.

Find the total number of book published by each publisher. Show publisher id, publisher name, and number of book published.

Find the total number of book for each category. Show category id, category name, and number of book for each category.

From the book table, list the books where quantity is more than the average quantity of all books.

Find the total number of books ordered by store manager from various publishers.

1 Member_ID Book_ID Book_ID Book_title FeedBack_score Book_Rating MBR001 BK002 wonder 9 very good MBR002 BK002 wonder 10 masterpiece MBR003 BK005 Shadows 5 not bad MBR004 BK006 Let it rain 2 bad MBR005 BK005 Shadows 8 MBR006 BK006 Let it rain 9 very good 5 4 5 good 6 1 2 Pub_ID PU001 PU002 PU003 PU004 PU005 Pub_Name Pub_Email Reem Reem.AL@gmail.com Malak Malak.fi@gmail.com Hisham Hisham.al@yahoo.com Ebrahim Ebrahim@yahoo.com Arwa Arwa.ah@gmail.com Mohamed Mohamed.ah@gmail.com Pub_Address jalan midah 8A.prisma cheras Bukit jalil,endah ria jalan ampang.indah Jalan Cheras Jalan Midah 3 4 5 PU006 Jalan taman Book_ID BK001 Pub_ID PU001 1 2 BK002 PU002 Book_title Girl on the train wonder Alex and elenour Falut in our stars Shadows 3 Book_Quantity Book_Author Book_Category Book_Price Book_Date 300 john Drama 40.8 2011-05-05 239 alex Comdey 69.34 2012-04-06 380 Noor Romantic 58.78 2013-06-08 390 Nabil Romantic 45.9 2014-05-25 250 Esra Horror 30.9 2014-01-27 400 Reemon Romantic 50.9 2013-05-22 BK003 BK004 PU003 4 PU004 BK005 PU005 5 6 BK006 Let it rain PU006 1 Member_ID MBR001 MBR002 MBR003 2 3 Member_Name Member_Gender Member_Address Member_Contact Member_Email Customer_ID Aisha Female jalan kajang. putri 1136809 Aisha.ft@gmail.com CUS001 Reem Female jalan tun razak.perdana 11370456 Reem.jk@gmail.com CUS002 Hamoud Male jalan bukit jalil, endah 1124578 Hamoud.yu@gmail.com CUS003 Tarea Male serdang.one south 11567903 Tareq.op@gmail.com CUS004 Layla Female Kajang,seri putra 11456797 Lulu.kl@yahoo.com CUS005 Yara Female Kajang,seri putra 113645673 Yara.kl@yahoo.com CUS006 4 5 6 MBR004 MBR005 MBR006 1 2 3 Manager_ID Manager_Name Manager_Email Manager_Address EM001 Luay Luay.ty@gmail.com bukit bintang bulan EM002 Noor Noor.ahmed@gmail.com Bukit jalil.oug EM003 Tayba Tayba.ah@gmail.com Damansara,ria EM004 Yusra Yusra.hg@yahoo.com Montikyara EM005 Nageed Nageeb.iu@yahoo.com Juta mines EM006 Layla Layla.iu@yahoo.com Parkhill 4 5 6 b) Create the following queries using Data Manipulation Language (DML) - student must be able to explain the queries. i. Find the total number of feedback per book. Show book id, book title, and total number of feedback per book. ii. Find the total number of feedback per member. Show member id, member name, and total number of feedback per member. iii. Find the total number of book published by each publisher. Show publisher id, publisher name, and number of book published. iv. Find the total number of book for each category. Show category id, category name, and number of book for each category. V. From the book table, list the books where quantity is more than the average quantity of all books. vi. Find the total number of books ordered by store manager from various publishers

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!