Create a query by using given information

Assignment Help Database Management System
Reference no: EM132271579

Question: Using the SQL statements provided write CREATE and INSERT statements to populate the ARTIST, GALLERY and PAINTING tables in Microsoft ACCESS. When inserting the data remember that if the data is Text data it should be enclosed in single quotes if it is numeric it will not be enclosed in quotes. Review the examples in chapter 7. You will need to save your Statements in MS Access in the Query view to receive credit for this exercise. I will need to see an INSERT statement for the Artist Table, the Gallery Table and the Painting Table. You will need to insert records into the Parent table before entering records into the child/related table. In addition create 2 new INSERT statements by copying 2 of the existing INSERT statements from each table and change the data and save those INSERT statements with a name of NEW_INSERT_PAINTER_1 , NEW_INSERT_GALLERY_1, NEW_INSERT_PAINTING_1. Increment the 2nd INSERT STATEMENT and save it to the query view pane.

When creating a query in ACCESS do the following

1. Click on the Create Menu Button

2. Select Query Design

3. Depending on which version of Access you have Select SQL View if you have ACCESS 2013

4. In older versions select View then SQL View

5. Execute your CREATE and INSERT statements and add the data. Review the examples in Chapter 7 on Adding Table Rows for help with writing Insert statements

6. Save the Query as

- Add Painter or Artist incrementing each query name by 1 to distinguish one insert from another

- Add Gallery

- Add Painting

7. You will insert each record in each table. Again, I emphasize the SQL Statements must be saved in order to get credit. I will test your SQL statements to see if they work. I have included the text file that has both the CREATE and INSERT statements. You will use these in the Query View of SQL to learn to write simple SQL Statements.

Please make sure that you turn on the primary key field. You can do this in ACCESS by going to DESIGN VIEW and click on the row that is the primary key of the table and then go to TOOLS and select primary key.

DELIVERABLES

Do not make this assignment complicated. You are simply copying the text provided and executing the SQL statements and creating 2 new INSERTS for each of the 2 entities. I need you to save 6 INSERT statements total not including the ones provided for this exercise. If you don't save the statements I will lose a significant amount of points because everything is already provided. You will execute the INSERT statements provided to populate the table but do not save the queries provided for these statements. I already have them. Save only the 6 new queries by modifying the INSERT statements data values to the GALLERY, PAINTER and PAINTING tables.

I have including an attachment name Ch07_Artist_SQL.txt. These are the INSERT Statements you will use in this assignment.

When you have completed the assignment, first close ACCESS and then upload the database to Blackboard. If you don't close the database before uploading I will not be able to retrieve your files or open the database and I will not receive credit for the exercise.

Reference no: EM132271579

Questions Cloud

What are the three elements in a pie chart : What are the three elements in a pie chart? Explain how to add and remove an element.
Discussion about the critical business functions : Consider the critical business functions and your recovery point objectives and recovery time objectives. Cite your sources. Do not copy. Write in essay format.
What is a pie chart : What is a pie chart? Provide an example of when you would use a pie chart versus a column chart.
Determine the schedule performance index : Dale's costs for the project must be recorded at his overtime rate due to his being over- assigned to multiple projects during the same timeframe.
Create a query by using given information : Using the SQL statements provided write CREATE and INSERT statements to populate the ARTIST, GALLERY and PAINTING tables in Microsoft ACCESS.
Outsource the development of ar headset : As the manager of this project, would you approve the decision to use an offshore contractor to outsource the development of AR headset applications?
Learned about the internet of things : Think about how these concepts apply to your life, and describe how you use devices such as these in your day-to-day life.
Describe the industry you currently work : Describe the industry you currently work in or plan to work in along with a discussion of your vision of what collaboration will be like for your industry
An example of the four areas of the marketing mix-product : Provide an example of the four areas of the marketing mix-product, price, placement, and promotion-used by each of your selected companies.

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