SQL-Data Management Studio
Using SQL Data Management Studio Only please perform the instructions below showing screenshots of the each step. Using the Template Provided and with the Database provided.
Using the Northwind database, write a SQL SELECT statement that will retrieve the data for the following questions:
- Display the character constant 'Greeting' with a column heading of 'Hello.'
- 1 row returned.
- Display all data from the categories tables without specifying the names of the table columns. Order the results by CategoryName.
- 8 rows returned.
- Display all employees' names, last name first, and then first name, hire date and home phone number. Order the results by employee name, last name first, and then first name.
- 9 rows returned.
- Modify query 3 so that the column headings are as follows: 'Last Name,' 'First Name,' 'Date of Hire,' and 'Home Phone Number.'
- 9 rows returned.
- Display the product name and quantity per unit, units in stock, and unit price for all products that have a unit price greater than $50. Order the results by unit price in descending order.
- 7 rows returned
- Display the Name of all U.S.-based suppliers. Order the results by Name in ascending order.
- 4 rows returned.
- Display the Order Id, ShipName, Order Date, and Freight of all orders that have a freight >/= 50 and </= 100; a ship country of Austria, Brazil, or France; and a Ship City that starts with an 'S.' Use, BETWEEN, IN, and LIKE for the WHERE clause conditions. Order the results by ShipName in ascending order.
- 13 rows returned.
- Rewrite query 7 to remove the use of BETWEEN and IN, and replace with the equivalent use of =, <, >, </=, >/= and AND and OR expressions.
- 13 rows returned.
- Select the Employee's First Name, concatenated to the Last name, separated by a space. Call the column 'Employee Name,' the length of this employee name Length, the location of the first 'a' in the name 'A Location,' and the 5–9 characters from the name 'Substring.' Order the results by the Employee Name using the alias.
- 9 rows returned.
- For each customer, show the number of orders placed, and the largest, smallest and total freight ordered. Only show those customers who have placed more than 15 orders.
- 9 rows returned.
Please submit your assignment.
12 years ago
20
Answer(1)![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- unit_2_ip.doc
Bids(0)
other Questions(10)
- Children who reach the Formal Operations stage can understand abstract ideas. Do high school students require this level of cognitive...
- When the following equation is balanced, what is the coefficient for HCl? Ca(s) + HCl(aq) à CaCl2(aq) + H2(g)
- i help to program my project within 5 hours.. its a c++ program project about playing the game blackjack.. In order...
- Case Study on Terrorist Threat In a paper of 2,000 words. You will analyse a case study about indications of a...
- 2x+2y-x-y-7+5y
- was gangsterism the most important problem in america in the 1920s
- Phenotypes that exhibit continuous variation are often the result of what?
- Due October 8
- what should you do if you are surrounded by 20 lions, 15 tigers, and 10 leopards?
- In a laboratory, 178.8g of wateris separated into hydrogen gas and oxygen gas. The hydrogen gas has a mass...