How do I get into MySQL, programming homework help

User Generated

zbqeb92

Programming

Description

I need to do a lab on my SQL and I am not sure how or what to do.


Lab 4: Structured Query Language (SQL)

Due Week 7 and worth 75 points

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.

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Hello buddy, i have finished the assingment. Thank you very much for your patience. I will really appreciate your feedback.

RUNNING HEAD: SQL DISCUSSION

1

LAB 4: STRUCTURED QUERY LANGUAGE (SQL)
STUDENT’S NAME
PROFESSOR’S NAME
COURSE TITLE
DATE: 19 May 2017

LAB 4: STRUCTURED QUERY LANGUAGE

2

1. Create the tables and relationships from the database design discussed in Lab 2.
The following screen shows the table creation

Table created

2. Add at least five (5) records into each table (Note: You must determine the field values).
insert into admission
values
('2016-03-06',101,'123-2340-522','M','2017-01-02'),
('2013-01-01',102,'122-2240-512','F','2017-03-21'),
('2015-...


Anonymous
Really useful study material!

Studypool
4.7
Trustpilot
4.5
Sitejabber
4.4

Related Tags