Create a query with all fields from the student table

Assignment Help PL-SQL Programming
Reference no: EM131299027

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 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.

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: EM131299027

Questions Cloud

Evaluate the firm financial performance for fiscal 2015 : You are an analyst covering Screen Microtech and have been asked to evaluate the firm's financial performance for fiscal 2015. Specifically, you have been asked to review the accounting decisions that the firm has made and prepare a revised 2015 ..
Increasing prices for viable drugs people : 1. Technology: Technology and connectivity will continue its steady infiltration of the healthcare landscape, branding and trust take priority over convenience, and the advancement and integration of connected health technologies will center on c..
Write a program that simulates a basic lottery : Write a program that simulates a basic lottery. Your user will "purchase" one lottery ticket. Each ticket will contain 5 unique numbers (numbers cannot be repeated within the ticket).
Company align organizational and employee goals : In what ways can a company align organizational and employee goals? How can a company ensure that employees are focused on the right goals? (please address both parts)
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, last names, and phone numbers.
Pros and cons of four provider payment methods : Explain the pros and cons of four provider payment methods: (a) fee-for-service; (b) capitation; (c) global capitation; and (d) bundled payment.
Changing landscape of the health care system : Write a 1,050 word reflection that details the changing landscape of the health care system. Include the following:
Create alice program that minimally does move the cars : Create an Alice program that minimally does Move the cars to either side of the screen, at the same Z-axis position -- one on the far left side of the screen facing right, and one on the far right side of the screen facing left
What was the largest positive monthly return : FIN 301 Excel Exercise: Return and Beta Calculation. What is the most recent month in which the company returns moves in the opposite direction of the S&P 500 return? What was the largest positive monthly return

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Sql questions

Write a query to display using the employees table the EMPLOYEE_ID, FIRST_NAME, LAST_NAME and HIRE_DATE of every employee who was hired after to 1 January, 1995.

  Let the user type his first and last name

The program should let the user type his first and last name.

  Sql query into a relational algebra statement

Turn this SQL query into a relational algebra statement? SELECT Request.reqfor, Ordering.invamt, Ordering.invnbr, Ordering.invdat

  Good example of sql query

Explain what is bad about the poor example

  In this problem we will consider a movie database with

in this problem we will consider a movie database with three tablesmoviedirectortitle director yearmoviecasttitle actor

  Explain the factor necessary to ensure referential integrity

Identify which data components are the entities and attributes, and the relationship between each using an object representation diagram through the use of graphical tools such as Microsoft Visio, or an open source alternative such as Dia.

  Write a sql query that returns the names of the students

Write a SQL query that returns the names of the students (lname, fname), and the major of the major with most students. If more than one major is tied for most students, then list all the names of the students from both majors (as well as the major..

  Calculate days between ordering and shipping

Calculate the Tax on an Order, Calculate the Total Shopper Spending - Develop a SELECT statement using the BB_SHOPPER table to produce a list of each shopper in the database and his or her respective totals.

  Write a select statement that returns four columns

Write a SELECT statement that returns four columns from the Products table: ProductCode, ProductName, ListPrice, and DiscountPercent. Then, run this statement to make sure it works correctly.

  Show the customer id and customer name in given database

prepare a query to show the customer id and customer name in given database.

  Oracle general sql exercise

Oracle General SQL Exercise

  Explain your experiences related to your setup of mysql

Describe your experiences related to your setup of MySQL. Include any difficulties or issues that you had encountered during the installation.

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