Question: In the following exercises, you will use the data in the BITS database. In each step, use SQL to obtain the desired results. Note: use
In the following exercises, you will use the data in the BITS database. In each step, use SQL to obtain the desired results. Note: use screenshots to present your answer if applicable.
List the number and name of all clients.
Show the complete Tasks table.
Count the number of clients represented by consultant
List the number and name of all clients that are represented by consultant and that have credit limits of$
List the number and name of all clients that are represented by consultant or that have credit limits of $
For each work order, list the order number, order date, number of the client that placed the order, and name of the client that placed the order.
List the number and name of all clients represented by Sarah Allen.
How many clients have a credit limit of $
Find the total of the balances for all clients represented by consultant
List the name and remaining credit CreditLimitBalance for each client.
List all columns and all rows in the Client table. Sort the results by name List all columns and all rows in the Tasks table. Sort the results by price within category.
For each consultant, list the consultant last name, the average balance of the consultant's clients, and the number of clients assigned to the consultant. Group the records by consultant name, and order the records by consultant name.
Create a new table named Sept to contain the columns OrderNum, TaskID, Description, ScheduledDate, QuotedPrice for all rows on which the ScheduledDate is
In the Sept table, change the description of TaskID PI to "Misc. Printing."
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
