Prepare a query with all fields from the student table

Assignment Help PL-SQL Programming
Reference no: EM131299210

Lab: 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: EM131299210

Questions Cloud

The mixer suffers from port to port feed throughs : Prove that the Miller divider of Figure does not exhibit spurs at the output even if the mixer suffers from port-to-port feed throughs.
Describe the lg companys erp system profile : I need a couple of paragraphs describing the LG company's ERP system profile. Including a paragraph about LG's rational for choosing this system.
Describe the effect of a government budget deficit : Describe the effect of a government budget deficit on: a) The market for loanable funds (for both supply and demand -assuming an open economy!)
Discuss the need to monitor expenses related to the response : Discuss the need to monitor expenses related to the response, continuity and recovery to an incident. How is this need best accomplished? How would it be different under the Incident Command System?
Prepare 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.
What are the three first principles of data ethics : Ethics. What are the three first principles of data ethics? Explain briefly what the flu vaccine study must do to apply each of these principles.
Express output phase of the divider as a function of time : Based on the results from the previous problem, express the output phase of the divider as a function of time.
What does given imply about the critical part : Suppose in Equation, Tb is equal to the PLL input reference period Recall that the loop bandwidth is about one-tenth of the reference frequency.- What does this imply about the critical part of Sq(f)?
What does it mean for your measurement to be reliable : Reliability. You are laboring through a chemistry laboratory assignment in which you measure the conductivity of a solution. What does it mean for your measurement to be reliable? How can you improve the reliability of your final result?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Stored procedure named spinsertcategory

Write a script that creates and calls a stored procedure named spInsertCategory. First, code a statement that creates a procedure that adds a new row to the Categories table. To do that

  Question 1 calculate the tax on an ordercomplete the

question 1. calculate the tax on an ordercomplete the following steps to create a procedure to calculate the tax on an

  Practice writing sql queries

What would my query look like? Although you don't need to build any tables with data, it would help to do this so you can test your sql query. In order to better understand sql you need to practice writing sql.

  Database in omnymbus

/*Using the STUDENT table in the MISLab1 database in Omnymbus, perform the following tasks: Note the first SELECT is there to label the output, DUAL is a "dummy" table. The second SELECT is the solution.

  Write an application for the events

Closing the application. Close your running application by clicking its close box.

  Sql statement which select names and owners of great danes

Write SQL statement which would select each of the following: names and owners of all Great Danes and all attributes of poodles whose balance is no greater than $50.

  Write sql create table statement to create pet table

Write an SQL CREATE TABLE statement to create the PET table without referential integrity constraint on OwnerID in PET.

  Features of a relational dbms

1. A well-maintained relational DBMS has a high level of data integrity. What features of a relational DBMS contribute towards this level of integrity?

  Run the lab_03_01.sql script

Run the lab_03_01.sql script in the attached file to create the SAL_HISTORY table. Display the structure of the SAL_HISTORY table.

  Attempt the following1 run the lab0301sql script in the

attempt the following1. run the lab0301.sql script in the attached file to create the salhistory table. 2. display the

  Can we offer an example of a query

Can we offer an example of a Query in which we can use a parentheses to affect the order of execution in which the WHERE Clause has both AND and OR Logical Operators?

  Write the sql code to perform the tasks

Write the SQL code to perform the tasks requested in each problem. Screenshots are required for each SQL statement for a grade to be given.

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