Ask Chemistry Expert

Write the SQL command to complete each step.

Create a database with two tables: Customers (Cust_ID, First, Last, Balance, CreditLimit, Rep_ID) and Sales_Rep (Rep_ID, Rep_First, Rep_Last, Per_Hour). For simplicity, use Short text for data type except when you can use currency.

1.  List the Cust_IDs and names of all customers.

2.  List the Cust_Id and name of every customer represented by sales rep 35.

3.  List the number and name of all customers that are represented by sales rep 35 and that have credit limits of $10,000.

4.  List the number and names of all customers represented by a rep whose last name starts with Per.

5.  Find the total and average balances for all customers

6. List all customer last names whose balance is above the credit limit.

7. Calculate the total weekly wages if all sales reps are working for 40 hrs. per week.

8. Add a new customer (45, Jim, Jones, 4000, 5000, 35)

 9. List all customer last names corresponding with the last names of their sales reps, sorted by customer last names in ascending order.

10. Update the customer's last name to Newlywed if the Cust_ID is 282

Chemistry, Academics

  • Category:- Chemistry
  • Reference No.:- M91426056
  • Price:- $40

Guranteed 36 Hours Delivery, In Price:- $40

Have any Question?


Related Questions in Chemistry

Question 1bonding energyi draw an energy level diagram for

Question 1: Bonding Energy i. Draw an energy level diagram for a single Na ion and Cl ion. ii. Explain what is happening to the energy level between these two ions in terms of the Potential Energy. iii. Which process uti ...

Wat is the molarity to the hundredths place of 50 g hpo3

What is the molarity, to the hundredths place, of 5.0 g HPO3 in 300. mL of solution?

Describe how to assign anbspoxidation number from

Describe how to assign a Oxidation number from the text: The oxidation number of an atom in an elemental substance is zero. The oxidation number of a monatomic ion is equal to the ion's charge. Oxidation numbers for comm ...

How many grams of h2so4 must be dissolved into 0709 l of

How many grams of H2SO4 must be dissolved into 0.709 L of solution to generate a concentration of 0.303 M?

What could a source of error be during a titration lab that

What could a source of error be during a titration lab that is not a humans fault?

How many moles of magnesium ion are present in 525g

How many moles of magnesium ion are present in 5.25g Mg 3 (PO 4 ) 2 ?

What is the volume of a solution with a concentration of 12

What is the volume of a solution with a concentration of 1.2 M that contains 12 g of NaOH?

What is the molarity of a solution made by dissolving 200 g

What is the molarity of a solution made by dissolving 20.0 g of CrCl2 in 0.150 L of solution?

What is the mass of naoh present in grams given that a 100

What is the mass of NaOH present in grams, given that a 100. mL solution has a concentration of 0.125 M?

What is the volume of a solution in milliliters that

What is the volume of a solution, in milliliters, that contains 1.5 g LiNO3 and has a concentration of 0.40 M?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As