Respuesta :
Answer:
Check the explanation
Explanation:
a) Consider the following SQL query to create a view TopLevelCust
Query: Create View TopLevelCust AS Select CustomerNum, CustomerName, Street, City, State, PostalCode, Balance, Creditlimit From Customer Where Creditlimit P= 10000,
- In order to create a view for TopLevelCust, it is required to replace viewname with TopLevelCust
- select Clause is used to retrieve stored records from the table o CustomerNum, CustomerName, Street, City, State, PostalCode, Balance and Creditlimit are the attribute name
- from clause specifies one or more table from where records. be retrieved o Customer is the table name
- where clause is used in SQL query to retrieve only those records that satisfy the specified condition
- CreditlLimit>=10000 is the specified condition to retrieve the information from table.
Answer:CREATE VIEW TopLevelClient AS
SELECT ClientNum, ClientName, ClientAddress, ClientBalance, CreditLimit
FROM Clients
WHERE CreditLimit >= 100000
Explanation:
Using data from the BITS database, define a view named TopLevelClient. It consists of the number, name, address, balance, and credit limit of all clients with credit limits that are greater than or equal to $10,000.