Extra Credit Assignment - Multiple Table Query Assignment - Customer Phones
- Due Aug 21, 2024 by 11:59pm
- Points 0
- Submitting a file upload
- Available Aug 16, 2024 at 12am - Aug 22, 2024 at 11:59pm
This is 150 Point Extra Credit Assignment
Examine the ER Diagram, Relational Schema, and Metadata/Data Dictionary in the attached files. We will review in class what the term metadata means. If you want to get ahead, read the documents named “Using Database Management Systems” in the Database Module. Write queries to respond to the five information requests in the attached PDF file. We will review and practice in class, how to write and test single table queries in a Relational Database Management System (RDBMS). Use the metadata in the file to assist you in understanding the defined structure of the student table. Use the metadata to correctly write the queries for the 5 requests for information in the attached PDF document. Write your queries in a TEXT EDITOR document and upload the completed document into the drop box in this assignment link. Your answers MUST Be submitted as Text File WITH AN SQL EXTENSION
Remember that the Single Table Query Assignment is a written assignment. You are not required to actually execute the queries on an actual Relational Database Management System (RDBMS). However, an RDBMS will be provided. For this assignment you should participate in the in-class activities to get a framework for writing and testing these types of single table queries. . You will have the opportunity to actually run and test the queries that you write in a relational database management system. In class, I will review how to start MySQL, a relational database management system (RDBMS).
Additionally, I will review how to set up a test environment in MySQL that you can attempt to run your single table queries. With the test environment setup, MySQL will provide a result set if the query worked or feedback notifying you that there is a problem with the syntax of your query. The context of the assignment is for you to write in a text editor what you think the correct syntax is for SELECT queries to perform the specified information request.
To assist you in writing the queries, I have provided two supplement documents. One of the documents is named “Using Database Management Systems”. It is a PDF file located in the Database Module in Canvas. It provides an overview of database management systems. The second document is a PowerPoint presentation that specifically focuses on writing single table queries. Additionally, I will review this material in class. The combination of these two documents should provide enough information on writing single table queries. I am also providing real-time relational databases and tables with data to run and test your queries. Finally, I added links to a Website that provides an excellent tutorial on writing single table queries. The Website is named W3School. The Website also has interactive practice for you to actually write queries in a simulated database environment.
ER Diagramming -Smartphone orders.pdf Download ER Diagramming -Smartphone orders.pdf
Relational Schema_Smartphone order.pdf Download Relational Schema_Smartphone order.pdf
information requests-1.pdf Download information requests-1.pdf
Metadata_Smartphone orders.pdf Download Metadata_Smartphone orders.pdf
SmartPhone _Orders.sql Download SmartPhone _Orders.sql
Submit a SQL text file with an SQL extension containing the SELECT Queries responding to the information requests
Submit an SQL Text File for this assignment. An SQL Text File is a text file with a ".SQL" extension on the file name.
- The script should be well documented with comments
- All the script should be placed in one file
- The script should run continuously without errors