Question: Write down the SQL statement for both tables provided a . Create the above - mentioned tables. Keep the same name and primary key. b
Write down the SQL statement for both tables provided
a Create the abovementioned tables. Keep the same name and primary
key.
b Show the Program and Age of the students who are NOT from
Canada
c Show the Average AVG highest MAX and lowest MIN age from
the student table. Rename the columns using AS clause as follows.
Average Age Highest Age Lowest Age
d Show the course ID and names which contains SQL on the name.
Hint: Use LIKE wildcards
Briefly describe how Order By works. Give your own example. You may use ModulerNo, Age or GPA column of Student Table for the example.
Is there any way to JOIN the abovementioned Student and Course tables?
How?
Which could be the possible common attributes to join the table?
Write down an example SQL Statement to join them using the joining conditions.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
