Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use SQL to make the following changes to the Premiere Products database (see Figure 1-2 in Chapter 1). After each change, execute an appropriate query
Use SQL to make the following changes to the Premiere Products database (see Figure 1-2 in Chapter 1). After each change, execute an appropriate query to show that the change was made correctly, If directed to do so by your instructor, use the information provided with the Chapter 3 Exercises to print your output. For any exercises use that command not supported by your version of SQL, write the command accomplish the task. Create a viewed named MAJOR_CUSTOMER. It consist of the customer number, name, balance, credit limit, and rep number for every customer whose credit limit is $10,000 or less. Write and execute the CREATE VIEW command to create the MAJOR_CUSTOMER view. Write and execute the command to retrieve the customer number and name of each customer in the MAJOR_CUSTOMER view with a balance that exceeds the credit limit. Write and execute the query that the DBMS actually executes. Does updating the database through this view create any problems? If so, what are they? If not, why not? Use SQL to make the following changes to the Premiere Products database (see Figure 1-2 in Chapter 1). After each change, execute an appropriate query to show that the change was made correctly, If directed to do so by your instructor, use the information provided with the Chapter 3 Exercises to print your output. For any exercises use that command not supported by your version of SQL, write the command accomplish the task. Create a viewed named MAJOR_CUSTOMER. It consist of the customer number, name, balance, credit limit, and rep number for every customer whose credit limit is $10,000 or less. Write and execute the CREATE VIEW command to create the MAJOR_CUSTOMER view. Write and execute the command to retrieve the customer number and name of each customer in the MAJOR_CUSTOMER view with a balance that exceeds the credit limit. Write and execute the query that the DBMS actually executes. Does updating the database through this view create any problems? If so, what are they? If not, why not
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started