Create a query with all fields from the student table

Assignment Help Database Management System
Reference no: EM131869145

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.

Verified Expert

In this assignment we have created a report for the given database case study.So we have design a database in MYSQL in which we have normalized all the table in the database for the further use..And we have written all the given queries as per the requirement and attached all the screenshot of the database.

Reference no: EM131869145

Questions Cloud

Discuss the organizational characteristics : Discuss the organizational characteristics that arise during the four (4) stages of organizational growth. When comparing the characteristics of a company.
Calculate the patient volume needed per month : Calculate the patient volume needed per month if the Lab Center desires to cover its fixed and variable expense and make a profit of $2,500.
Evaluate your analysis of training and development needs : Evaluate your analysis of training and development needs. Explain ways to meet training needs. Discuss how you will evaluate the training.
Differences between a patent-a trade secret : What are some of the differences between a Patent & a Trade Secret? When would a company use each one?
Create a query with all fields from the student table : Create a query with all fields from the student table, where the student's last name is Smith - Create a query that includes students' first names
Jack walks into starbucks and is greeted by the barista : Jack walks into Starbucks and is greeted by the Barista. Jack orders a fresh brewed coffee. The Barista tells Jack that the cost is $2.95 and Jack pays
Marketing segmentation characteristics : -Identify at least five marketing segmentation characteristics that you would use in developing a profile of your customers.
Describe jeannine level of lethality : Jeannine and Robert have been together for five years and have been married for the past three years. They live in an apartment together.
Project management technique : PERT or the Program Evaluation and Review Technique is a project management technique that employs three time estimates for each activity.

Reviews

inf1869145

5/3/2018 4:50:34 AM

It’s not 2 labs. I put lab number 2 in the assignment so that you will know what to compare or guidelines. only For two (2) pages of the written assignment. its not writing assignment, because in lab 2 we need to create database and then on that we need the queries which take time and effort. we need to complete lab 4 only . it is a report of 2 page of lab 4 . Excellent work. Your expert has normalised all the tables and relations are very well formed with no redundancies. No conflicts are there in database set. Normalization is very good. All the queries are answered logically and i am getting the correct output when i run them on MySQL.

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