Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Refer to the following tables then answer the questions that follow. Table 1 Publisher: table [ [ pub _ _ D , pub _
Refer to the following tables then answer the questions that follow.
Table Publisher:
tablepubDpubname,address,city,stateNew Age Books,st Ave.,Boston,MABinnet&Barney, rd StWashington,DC
Table Titles:
tableTitleIDfitle,cat,Pubpriceis anger the enemy,psychology,Life without fear,psychology,alien,scifi
SOL query :
SELECT pub pubname
FROM publisher
WHERE state NOT IN MAIL AND pubname NOT UKE AS
Sal query :
SELECT cat, AVGprice AS Average Price, SUM price price AS TotalPrice
FROM titles
GROUP BY cat:
Show the data output produced when each of the following sal queries are executed.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started