Question Description
Instructions
This assignment has two parts:
- Hands-on-lab
- Course project
Part I—Hands-on Lab
For this assignment, you will display and modify information from a Microsoft Access database by using SQL commands.
Using the Microsoft Access database Books, write SQL statements for the following tasks. Once complete, copy the SQL statements from Microsoft Access and paste them in a Microsoft Word document that will be submitted along with part II of the assignment.
- Write an SQL statement to display the publication ID, publication date, cost, and category of each book planned for publication ID number 4.
- Repeat the previous task but include ID and Date as column aliases for the first two columns.
- Write an SQL statement to display the least expensive retail price book in each book category.
- Repeat the previous task but sort the displayed categories in the descending order.
- Write an SQL statement to display the customer number, city of destination, and shipping date for all shipments with order number above 2. (Hint: Use the Orders table.)
- Repeat the previous task but further restrict the output to shipping dates after January 1, 2013. (Hint: The date restriction will require a format identical to the one displayed in the previous task, and it must be surrounded by pound signs—#01/01/2013# for example.)
- Write an SQL statement to display the publication ID, average retail price, and average cost of all books. Group the output by publication ID.
- Write INSERT statements to add the following data to the Publisher table:
| PubID | Name | Contact | Phone |
| 6 | READ WITH US | John Doe | 866-888-9999 |
| 7 | KNOWLEDGE FOR ALL | Jane Doe | 800-1212-5555 |
| 8 | CHEAP PUBLISHING | Tom Smith | 000-321-4071 |
| 9 | TEXT AND MORE | John Carter | 032-100-7777 |
| 10 | BOOK BUSTER | George Stevens | 777-555-1212 |
- Write a single SELECT statement that will verify the records inserted.
- Write a DELETE statement to remove only the new BOOK BUSTER record.
Part II—Course Project
Course Project Part 2—Identifying Entities and Attributes
In Week 1, you developed an initial idea to build a database. You followed the systems development life cycle (SDLC) and got an idea to start with. Now, it is time to start building your database.
What next?
The project description developed in W1 Assignment 3 is a first draft, so consider it a rough draft. This means that you should continue to develop your idea.
The next step is to select some nouns in your project description. For example, a project has invoices, invoice distributions, and suppliers as nouns. These nouns are entities, or tables, that would be used to create the E-R model. Then, the adjectives and verbs that describe the nouns would become the attributes, or columns.
Therefore, in the example that we considered, we might have the following entities and attributes:
| Invoices | Invoice_Distributions | Suppliers |
| # Invoice_id | # Invoice_distribution_id | # Supplier_id |
| Invoice_num | Invoice_distribution_line_num | Name |
| Invoice_type | Line_type | Address |
| Supplier_id | Invoice_id |
Using your knowledge of selecting entities and attributes, complete the following tasks for this week:
- Review your project descriptions and come up with five entities and some attributes that describe the entities. Do not identify more than five attributes for each entity.
- In a Microsoft Excel spreadsheet, define six columns (nouns) from the project description you submitted in W1 Assignment 3 that you consider key to your database. These will be the tables for the database. Then, in the rows for each column, define the attributes (adjectives).
You have taken your creative idea and started to move the nouns and adjectives you identified in a logical model—the E-R model. This will give you a working outline of the tables that will be created in the final script.
Assignment Deliverable
After you complete the lab and course project, collate the information from both in a 3- to 4-page report in a Microsoft Word document.
Submission Details
- Name your report SU_ITS3102_W2_A2_LastName_FirstInitial.doc.
- Submit your document to the Submissions Area by the due date assigned.
Our website has a team of professional writers who can help you write any of your homework. They will write your papers from scratch. We also have a team of editors just to make sure all papers are of HIGH QUALITY & PLAGIARISM FREE. To make an Order you only need to click Ask A Question and we will direct you to our Order Page at WriteDemy. Then fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Fill in all the assignment paper details that are required in the order form with the standard information being the page count, deadline, academic level and type of paper. It is advisable to have this information at hand so that you can quickly fill in the necessary information needed in the form for the essay writer to be immediately assigned to your writing project. Make payment for the custom essay order to enable us to assign a suitable writer to your order. Payments are made through Paypal on a secured billing page. Finally, sit back and relax.
About Writedemy
We are a professional paper writing website. If you have searched a question and bumped into our website just know you are in the right place to get help in your coursework. We offer HIGH QUALITY & PLAGIARISM FREE Papers.
How It Works
To make an Order you only need to click on “Place Order” and we will direct you to our Order Page. Fill Our Order Form with all your assignment instructions. Select your deadline and pay for your paper. You will get it few hours before your set deadline.
Are there Discounts?
All new clients are eligible for 20% off in their first Order. Our payment method is safe and secure.