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

  Write sql statements that will retrieve the data

Write SQL statements that will retrieve the following data from a database, using Subqueries and Joins. Using the Northwind database, write a SQL SELECT statement that will retrieve the data for the following questions

  Make a visio erd with primary and foreign keys

Combine the two diagrams make a visio ERD with Primary and Foreign keys.

  Let the user type his first and last name

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

  Create the times star schema dimension table via sql

Create the TIMES star schema dimension table via SQL. This is "TIME" table in the star schema figure. The Sale_Day primary key column values should be all dates from your first sale date through and including your last sale date from your SALES ..

  Question regarding the concepts reflection

Analyze the online instruction manual for a home appliance, or locate an online manual for a similar product. Answer the following questions in your analysis:

  Describe concepts of database-orientated programming

describe concepts of database-orientated programming language plsql as well as of data analysis techniques for

  What three ways for identifying a dbms should nathan cover

Nathan is planning to describe at least three ways a database management system can be identified. What three ways for identifying a DBMS should Nathan cover?

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

  Database systems1 what is an sql injection attack explain

database systems1. what is an sql injection attack? explain how it works and what precautions must be taken to prevent

  Decomposition for r = (a,b,c,d,e )

Give a good decomposition for R = (A,B,C,D,E ) with the following functional dependencies:

  Create the following queries on the database

Create the following queries on the attached ITD640_B database and save them all in a file called ITD640_P5.SQL . Remember to define what database to use with a USE statement.

  Display customers table and its fields in sql

Display all the LastNames from the Customers table and any associated OrdersIDs from the Orders Table. Show the LastName even if they do not have any associated orders. Order the results by LastName in ascending order.

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