Define what database to use with a use statement

Assignment Help Database Management System
Reference no: EM131327813

Use SQL Management Studio to create a database called ITCO630_P1.MDF. Be sure to store the database in a location that you will remember. Add the following tables and data to the database. Use the appropriate field types and lengths for the tables.

1690_Tables.jpg


Create the following queries and save them all in a file called ITCO630_P1.SQL. Please note that you can execute individual queries in a query file by highlighting the lines that you want to execute before running the script. Define what database to use with a USE statement.

• Get the full details of the employee table.

• Get the full details of the employees who work in store S2.

• Get the full details of the promotions with a budget greater than $100,000.

• Get the employee number and promotion number for employees with unknown (NULL) jobs who work on promotion P2.

• Using a subquery, get the first and last names of the employees who work in the Orange Appeal store.

• Using a subquery, get full details of all the employees whose stores are located in Orlando.

Detach the database and create a zip file called ITCO630_P1.ZIP including the associated log file and the query file. After creating the zip file, reattach the database.

Reference no: EM131327813

Questions Cloud

Brief description of each article and its purpose : An introduction that includes a brief description of each article and its purpose, identifies the three themes that emerged from your reading, describes how they will be discussed in the paper, and presents a clear thesis statement
Develop business recovery strategies for sangrafix : Develop business recovery strategies for SanGrafix, a video game design company. The strategies should contain detailed guidance and procedures for restoring a damaged system unique to the system's security impact level and recovery requirements.
What is the mean return of mason portfolio : John is reviewing investment performance of the family portfolio over the past 2 years and the returns were -0.5% and 4.5%, respectively. What is the mean return of Mason's portfolio? What is the geometric mean of Mason's portfolio? What is the expec..
Compare john smiths writing about pocahontas to disney movie : Compare a literary piece from an author with its cinematic counterpart.- Compare John Smiths writing about Pocahontas to Disney's movie by the same name.
Define what database to use with a use statement : Use SQL Management Studio to create a database called ITCO630_P1.MDF.Add the following tables and data to the database.Create the following queries and save them all in a file called ITCO630_P1.SQL. Please note that you can execute individual queri..
Requires an initial fixed asset investment : Quad Enterprises is considering a new three-year e... Bookmark Quad Enterprises is considering a new three-year expansion project that requires an initial fixed asset investment of $2.9 million. The fixed asset will be depreciated straight-line to ze..
Define substance use in your own words : Consider the problem of substance use in America. In 1,250-1,500 words, do the following: Define substance use in your own words. Discuss why Americans seemingly have such a desire for illegal narcotics
What are the monthly payments after the second year : A mortgage broker is offering a $285,000 30-year mortgage with a teaser rate. In the first two years of the mortgage, the borrower makes monthly payments on only a 5.1 percent APR interest rate. What are the monthly payments in the first two years? W..
Discuss the main findings and their implications : Discuss the main findings and their implications. Given the results of your literature review, what is/are the prevailing argument(s)? What research question could you ask in order to further develop this area of study and contribute to the existi..

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd