Assignment 1
A SQL server was installed during unit 1. The installation included SQL Server Management Studio Express. This tool is used to create and manage your database. The next step is to ensure that the installed software was configured correctly. An existing database is available for this purpose. Using an existing database will also enable you experiment with querying a database.
For this project, you will access a database to ensure your software was installed and configured properly. You will explore the SELECT statement by populating the tables with data and retrieve the data from the database tables.
- Task 1
- Click hereto download and install the AdventureWorks LT2012 database into the SQL environment. Unzip the file and store the data file and the log file into the Data folder within the folder Program Files (x86)/Microsoft SQL Server/MSSQL11.SQLEXPRESS/MSSQL/DATA .
- Choose the appropriate file based on whether you are running SQL Server 2012 or 2008.
- Click hereto download and install the AdventureWorks LT2012 database into the SQL environment. Unzip the file and store the data file and the log file into the Data folder within the folder Program Files (x86)/Microsoft SQL Server/MSSQL11.SQLEXPRESS/MSSQL/DATA .
- Task 2
- Generate a database diagram for all the tables in the database.
- Include a screenshot of this diagram in your Word document.
- Generate a database diagram for all the tables in the database.
- Task 3
- Write SELECT statements for the following questions:
- For each of these statements, include a screenshot of the SQL statements and results. Make sure to include the statement execution, including the resulting data.
- Display all columns and all rows from the Customer table.
- Display the ProductID, ProductNumber and ListPrice for all rows in the Products table.
- Modify query 2 so that the column headings are as follows:
- "ID," "Number," and "List Price"
- Display the CustomerID, full customer name, and CountryRegion for all customers.
- Display the CustomerID, full customer name, and CountryRegion for all customers.
- Name the columns "ID," "Name," and "Region" (respectively), and sort the data by the company name.
- For each of these statements, include a screenshot of the SQL statements and results. Make sure to include the statement execution, including the resulting data.
- Write SELECT statements for the following questions:
11 years ago
5
Answer(2)![blurred-text]()
![]()
![blurred-text]()
![]()
Purchase the answer to view it

NOT RATED
- solution.doc
Purchase the answer to view it

NOT RATED
- assignment_1d.docx
Bids(0)
other Questions(10)
- . Every year, management and labor renegotiate a new employment contract by sending their proposals to an arbitrator who chooses...
- Case study: LAW
- a
- Pcqe. On sawny bean quotes "They'll hing ye up an cut yer throat" "An they'll yase yer banes tae quiet the...
- ACC423 WileyPlus
- what is 1/3 + 4/21 equal to?
- 1. Base your answers to questions 1a – 1c on the speed-time graph below, which represents the linear motion of a...
- 3 reasons why kids should be home schooled.
- Tutor4U - Quiz discussed for 12/21/2012
- what are the answers for the whole class
