Question: 1. 3 pts] Write a SQL statement that creates a table named Course and has three attributes named CourselD. CourseName. and InstructorlD. CourselD is the

 1. 3 pts] Write a SQL statement that creates a table

1. 3 pts] Write a SQL statement that creates a table named "Course" and has three attributes named "CourselD". "CourseName". and InstructorlD". "CourselD" is the primary key of the table and "InstructorlD" is a foreign key from the Instructor table. Course CourseID, Course Name, InstructorlD) Instructor (InstID, InstName, salary) 2. [2 pts Write a SQL statement that inserts one record to the above "Course" table. 3. [2 pts Write a SQL statement that updates a value of one of the attributes of the above Course" table 4. 3 pts] Write a query in English for the following SQL statement: select ql. from (select customer id, count( ordercount from cust order group by customer id)q (select max(count") highest from cust order group by customer id) 2 where ql.ordercount q2.highest

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!