subject

Using the Heather Sweeney SQL script, create and add values provided in Titanium in order to create the HSD Database. Write and save SQL statements using a text editor (e. g., Notepad) to answer the query requests below. Although you only submit the SQL text file, you may want to test and verify the SQL statements using MS SQL Server 2012. Use comment lines as descriptors for each different SQL statement.
The text file should contain the following SQL query requests

1.List the various product numbers only once in the line item table.

2.List the number of products ordered in line item by product number.

3.List the first name, last name, and number of contacts made for each customer who live in Dallas regardless of contact type .

4.List the first name, last name and phone number for customers who purchased the video companion titled ‘Kitchen Remodeling Basics’. Use a subquery.

5. List the number of invoices for each email address where the payment is made using Mastercard and the total invoice amount is less than $100.00.

6.Use the previous SQL statement to show all records regardless of payment type or amount with 2 or more invoices.

7.Verify that the total listed in line item is accurate and correct by creating a calculated field and displaying it next to the original total field.

8.Use previous SQL statement and modify it to show grand totals by invoice number.

9.List the total number of transactions by payment type greater than 8.

10. List the grand total for each customer making payments with their Visa cards.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:00
What are procedures that keep a data base current
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Which option allows you to view slides on the full computer screen?
Answers: 1
question
Computers and Technology, 23.06.2019 14:00
In which job role will you be creating e-papers, newsletters and preiodicals
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
What is the total resistance in a circuit that contains three 60 ohm resistors connected in a series? a. 20 ohms b. 120 ohms c. 60 ohms d. 180 ohms
Answers: 2
You know the right answer?
Using the Heather Sweeney SQL script, create and add values provided in Titanium in order to create...
Questions
question
History, 18.05.2021 17:30
question
Arts, 18.05.2021 17:30
question
Chemistry, 18.05.2021 17:30
Questions on the website: 13722363