Question: Write the following SQL statements to query the NDX table in the dbclass schema/database. Your SQL statement should display only the columns identified unless otherwise
Write the following SQL statements to query the NDX table in the dbclass schema/database. Your SQL statement should display only the columns identified unless otherwise specified. All statements require the GROUP BY clause.
1. Display the average PriorClose on Fridays grouped by TMonth and TYear. So this will be the average PriorClose on Fridays by month and year.
2. Display the average PriorClose grouped by TMonth and TYear.
3. Display the average Volume and average ChangeClose grouped by TYear and TMonth.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
