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

  Construct a query that will show the number of days

Imagine that you work for a finance industry-based organization. Your organization is looking to submit its database design documentation to an evaluation team in order to meet Sarbanes-Oxley (SOX) compliance.

  1 write a query to display using the employees table the

1. write a query to display using the employees table the employeeid firstname lastname and hiredate of every employee

  Execute queries to confirm that the basket order status

Execute queries to confirm that the basket order status and product stock levels have been appropriately modified by the trigger.

  Write the sql code to perform the tasks

Write the SQL code to perform the tasks requested in each problem. Define a new containing the product number, name, price, and quantity on hand along with the number of orders in which the product appears.

  Design and develop a new set of courses

Professor Xavier wants to design and develop a new set of courses, all with the goal of helping students learn more about set theory and algebra; probably five or six courses altogether.

  Create a view named largeslip using the data

Create a view named LargeSlip using the data in the MarinaNum, SlipNum, RentalFee, BoatName, and OwnerNum columns in the MarinaSlip table for those slips with lengths of 40 feet. Display the data in the view.

  Write sql statement to produce single column

Write an SQL statement to produce a single column called ItemLocation that combines the SKU_Description,the phrase "is located in."

  Make a visio erd with primary and foreign keys

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

  Write down name of actors in ascending order

Write down actors (or actress, your choice, but not both) who have won at least two (2) Academy Awards for best actor/actress. Provide the actor name, movie title & year. Order the result by actor name."

  Create and populate the database system using sql server

Global Car Club (GCC) is a small individually owned club which loans cars to its members. GCC first formed in 2009; has over more than 100 good mixes of members and counting.

  Create a calculator application.

You must center the form on the screen.

  Use the prime minister database

Write SQL SELECT statements to retrieve the following information from the Prime Minister database.

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