Consider a DB schema consisting of the following relation schemes: Station (Stat
ID: 3857321 • Letter: C
Question
Explanation / Answer
1.
Select * from Station where Lat_N > 39.7;
2.
Select * from Statitistics order by Month asc , Rain desc;
3.
Select City,Lat_N ,Temp from Station , Statistics where Month = 7 and Statistics.Statistics_ID_forastation = Station.Station_ID order by Temp;
4.
Select Statitics_ID_forastation,MAX(Temp),MIN(Temp),AVG(Rain) from Statistics group by Statitics_ID_forastation;
5.
Select * from Station where 50 < (Select AVG(Temp) from Statistics Where Station.Station_ID = Statistics.Statistic_ID_forastation );
6.
Create view Unit_Statistics (Statistics_ID, Month, Temp, Rain) as Select Statistics_ID_forastation,Month,(Temp - 32) * 5 /9,Rain* 0.3937 from Statistics;
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.