Question
2. Write DML SQL queries and answer the questions: Get the AdventureWorks Data Dictionary from technet.microsoft.com/en-us/library/ms124438(v=sql.100).aspx Use the SELECT and the WHERE clause to find
2.Write DML SQL queries and answer the questions:
Get the AdventureWorks Data Dictionary from technet.microsoft.com/en-us/library/ms124438(v=sql.100).aspx
Use the SELECT and the WHERE clause to find the, Name, ProductNumber, and ReorderPoint, where the ProductID is 356
i.Submit the SQL statement used to accomplish this task
ii.Submit the value for the following fields:
Name
ProductNumber
ReorderPoint
iii.How many record(s) were listed?
2.Add a record to the YourName_STORES table with the following information:
StoreCode = IT330, Name = Test_YourName, Address = 1234 Somewhere Street, City = Here, State = MA, Zip = 00333.
Submit the SQL statement used to accomplish this task.
Write an SQL statement to validate the record added in the previous step. Submit the SQL statement used to accomplish this task.
3.Add a record to the SALES table with the following information:
OrderNumber = TESTORDER, StoreCode = IT330, OrderDate = 01/01/2014, Quantity = 10, Terms = NET 30, TitleID = 1234567
What is the SQL statement you used to do this task?
Write a SQL statement to validate the record added in the previous step. Submit the SQL statement used to accomplish this task.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started