Question: Using data from the Premiere Products database, define a view named TopLevelCust. It consists of the number, name, address, balance, and credit limit of all
Using data from the Premiere Products database, define a view named TopLevelCust. It consists of the number, name, address, balance, and credit limit of all customers with credit limits that are greater than or equal to $10,000.
a. Using SQL, write the view definition for TopLevelCust.
b. Write an SQL query to retrieve the number and name of all customers in the TopLevelCust view with balances that exceed their credit limits.
c. Convert the query you wrote in Question 2b to the query that the DBMS will actually execute.
Step by Step Solution
3.48 Rating (171 Votes )
There are 3 Steps involved in it
a CREATE VIEW TopLevelCust AS SELECT CustomerNum CustomerName Street City ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
671-CS-DB (971).docx
120 KBs Word File
