Create a query with all fields from the student table where


Structured Query Language (SQL)

Refer to the database design crested in Lab 2: Modifying a Database Design to complete this Lab.

Perform the following steps in MySQL:

1. Create the tables and relationships from the database design discussed in Lab 2.

2. Add at least five (5) records into each table (Note: You must determine the field values).

3. Create a query with all fields from the student table, where the student's last name is "Smith".

4. Create a query that includes students' first names, last names, and phone numbers.

5. Create a query that includes instructors' first names, last names, and courses they teach.

Include the following screen shots in a Microsoft Word document to show the completion of the steps above:

- Screen shot depicting the tables created within MySQL.

- Screen shots depicting the records added into each table.

- Screen shots depicting the SQL code and the query results from each of the queries created.
Your assignment must follow these formatting requirements:

- Submit the lab as a Microsoft Word document.

- Include a cover page containing the title of the assignment, the student's name, the professor's name, the course title, and the date. The cover page is not included in the required assignment page length.
The specific course learning outcomes associated with this assignment are:

- Prepare database design documents using the data definition, data manipulation, and data control language components of the SQL language.

Lab 2: Modifying a Database Design

This assignment contains two (2) Sections: Modified Diagram and Design Summary. You must submit both sections as separate files in order to complete this assignment.

If you're using Visio, see "Appendix A: Designing Databases with Visio Professional 2010: A Tutorial" to help you complete Section 1: Modified Visio Database Design. (Note: This tutorial focuses on the use of Microsoft Visio. Open source applications are not covered in Appendix A. However, using open source applications or even pen and paper within labs is permitted.)

After reviewing your database design from Lab 1: Creating a Database Design, the college has provided more information for the database that they want developed:

- For each student, the college needs to track the student ID, student names, addresses, start date, phone numbers and types (such as mobile, home, work), email addresses and types (such as personal, school, work), gender, and birth date.

- For each course, the college needs to track the course ID, course name, department, quarters offered, sections, and instructor teaching each course.

- For each instructor, the college needs to track the instructor ID, name, address, phone numbers and types (such as mobile, home, work), email addresses and types (such as personal, school, work), gender, birth date, and the courses that each instructor is qualified to teach.

- Additionally, the college needs to track the final grades for each student after each course has completed.

Section 1: Modified Diagram (Using Microsoft Visio is optional; you may also use any other application you know or even modify the diagram with pen and paper and take a picture of it for submission.)

1. Use the application or pen and paper to:

a. Modify the database diagram from Lab 1 with the entities and attributes that the scenario identified (i.e., a college tracking students, courses, and instructors).

b. Create the appropriate relationships between each entity within the diagram.

2. Submit your modified diagram.

Section 2: Design Summary (Microsoft Word or equivalent)

3. Write a one to two (1-2) page paper in which you:

a. Discuss the degree to which you believe your diagram reflects the database design.

b. Describe any assumptions that you had to make about the business rules to in order to create the diagram and the associated relationships.

Section 2 of your assignment must follow these formatting requirements:

- Submit the design summary as a Microsoft Word file.Be typed, double spaced, using Times New Roman font (size 12), with one-inch margins on all sides; citations and references must follow APA or school-specific format. Check with your professor for any additional instructions.

- Include a cover page containing the title of the assignment, the student's name, the professor's name, the course title, and the date. The cover page is not included in the required assignment page length.

The specific course learning outcomes associated with this assignment are:

- Describe the role of databases and database management systems in managing organizational data and information.

- Recognize the historical development of database management systems and logical data models.

- Compose conceptual data modeling techniques to capture the information requirements.

- Use technology and information resources to research issues in database systems.

- Write clearly and concisely about relational database management systems using proper writing mechanics and technical style conventions.

Solution Preview :

Prepared by a verified Expert
Database Management System: Create a query with all fields from the student table where
Reference No:- TGS02664641

Now Priced at $30 (50% Discount)

Recommended (99%)

Rated (4.3/5)