Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using SQL Commands 2) Define a view named BASIC_CUSTOMER. It consists of the customer number, name, balance, credit limit, and rep number for every customer

using SQL Commands

2) Define a view named BASIC_CUSTOMER. It consists of the customer number, name, balance, credit limit, and rep number for every customer whose credit limit is $7,500 or less. Use TAL Distributors Database.

a) Write what the actual VIEW command would be (in your Word document).

b) Execute the SELECT portion of the VIEW

c) Save the query that you create as BASIC_CUSTOMER.

d) Write and execute the command to retrieve the customer number and name of each customer

in the BASIC_CUSTOMER view/query with a balance that exceeds the credit limit.

e) Write and execute the query that the DBMS actual executes.

3) Define a view named CUST_ORDER. It consists of the customer number, customer name, balance, order number, and order date for every order on file. Use TAL Distrubutors Database.

a) Write what the actual VIEW command

b) Execute the SELECT portion of the VIEW command

c) Save the query that you create as CUST_ORDER.

d) Write and execute the command to retrieve the customer number, customer name, order

number, and order date for every order in the CUST_ORDER view/query for only those

customers with balances of no more than $5,000.

e) Write and execute the query that the DBMS actual executes.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

Students also viewed these Databases questions

Question

What is DDL?

Answered: 1 week ago