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

  Question 1 write a query to display the last name

question 1 write a query to display the last name department number and salary of any employee whose department number

  Create a clustered index on the groupid column

Write the CREATE INDEX statements to create a clustered index on the GroupID column and a nonclustered index on the IndividuallD column of the GroupMembership table.

  Write down sql needed to create employee table

Write down SQL needed to create employee table containing the following data: employeeID, text, length of 5, primary key lastName, text, length of 25

  What is column aliases

For Assignment week 1, answer the following questions. Save your answer to a word document on your desktop (please save as word 2003 format), and submit your results.

  Consultant to assist in streamlining the data processing

Imagine that you have been hired as a consultant to assist in streamlining the data processing of an international based organization that sells high-end electronics.

  Available on a major operating system

Which web browser below is natively available on a major operating system? Which type of components below generates the most heat inside of a computer?

  How did you go about making the decision

Write a 1,400- to 2,100-word analysis on a recent decision you made at work. Answer the following questions: How did you go about making the decision? Apply the steps of the decision-making process.

  Correlated sub-query to return one row per customer

Use a correlated sub-query to return one row per customer, representing the customer's oldest order (the one with the earliest date).

  Computer science assistance

Look up the altitude of a Globalstar satellite on the Internet. Use Kepler's formula to check the accuracy of a given period and altitude for a Globalstar satellite. Use the following exponent calculator to estimate the period.

  Write an sql select statement that would re-organize result

Write a program in the language of your choice to calculate the sum of all the multiples of 3 or 5 below 1000. Include the source code and the calculated value in your answer.

  Write a perl subroutine for temperature conversion

Write a perl subroutine for temperature conversion named 'convert_temp'. It should be able to handle both Fahrenheit to Celsius conversions as well as Celsius to Fahrenheit conversions.

  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.

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