Write ten sql select statements to query

Assignment Help PL-SQL Programming
Reference no: EM131147941

Write Ten SQL SELECT statements to query the STUDENT schema you created for practice lab 2. Your Select Statements should run error-free and should be valid.

Submit two separate files: one plain text file (.txt or .sql file) with your SELECT statements only; and the other document (doc/docx/pdf) include both your SELECT statements and your query results (copy and paste text or screen shots). The instructor and TA should be able to run your plain text source file as script and generate the same output as shown in your result document.

1. Show the number of students whose zip is 07070.

2. List all students (display student_id, first name, last name, and employer) who live in Columbus, OH.

3. Show the zip, state and city that have > 5 students as residents.

4. List all students (display student_id, first name, last name, and registration date) who registered on or before 2/13/2007 but have not enrolled in any course.

5. Show the number of students enrolled in the 'Intro to Unix' course.

6. List all students (display student_id, first name, last name, and employer) who took courses taught by instructor 'Anita Morris'.

7. List all distinct courses (display instructor name, course_no and description) taught by 'Anita Morris'.

8. For all students who took 'Intro to Unix', calculate the highest, lowest, and average midterm exam grade.

9. Show which courses have > 10 students enrolled. Display course_no, description and number of students enrolled.

10. List any student who has enrolled in the same course multiple times. Display student name, course description, and enrollment count.

Reference no: EM131147941

Questions Cloud

Difference between destructive and constructive conflict : Describe in detail the difference between a destructive and constructive conflict. Describe at least four characteristics of each type of conflict, and use specific examples from your experience to describe each.
For employment with the firestorm smokejumpers : For employment with the Firestorm Smokejumpers—a crew of elite paratroopers who parachute into dangerous situations to fight fires—applicants must complete a series of tests. The crew chief sends the most qualified applicants a letter stating that th..
Describe examples of successful use of guided data mining : Reflect on your initial impressions of automated data mining in health care. What are your thoughts on applying this type of data mining to patient care? Consider possible drawbacks of both guided and automated data mining. What approaches and str..
What prosecutions have happened under the rico act : Be sure to explain and discuss the RICO Act, including the nature of what this act covers, what types of incidences are involved in organized crime, and what prosecutions have happened under the RICO Act
Write ten sql select statements to query : Write Ten SQL SELECT statements to query the STUDENT schema you created for practice lab 2. Your Select Statements should run error-free and should be valid.
Analysis and evaluation of business and financial performanc : Write An Analysis and Evaluation of the Business and Financial Performance of Oman Oil Marketing Company, over a Three-Year
What assessment questions should sandy ask : Julie's emotional responses are characteristic of post-traumatic stress disorder. What are three potential nursing diagnoses for Julie? What non-pharmacological interventions might Sandy use to help Julie?
Consider motivation techniques and mentoring : Learning Activity 2 - Theme 2 The manager must be able to solve problems, communicate, and lead teams toward the completion of a task. Scenario: You are the manager of the northern branch of the Laurel City bowling alleys. Discuss how you would appro..
How could future training be improved : How could future training be improved, including the explanation of chemical hazards without specifically addressing each chemical

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Indicate the changes

Indicate the changes (using the shorthand representation) that you would need to make to the original Premiere Products database design to support the following requirements. There is no relationship between customers and sales reps.  When a custo..

  Build cross-cultural awareness

Working across cultures can be enriching and meaningful. Colleagues can build cross-cultural awareness by engaging with people who are similar to and yet different from them. At the same time, working across cultures also has its challenges.

  Add three rows to the downloads

Add three rows to the Downloads table: one row for user 1 and product 2; one for user 2 and product 1; and one for user 2 and product 2. Use the GETDATE function to insert the current date and time into the DownloadDate column.

  Show a structured query language query

Show a Structured Query Language (SQL) query, and screenshot your results in a Microsoft Word document. For Part 2, provide explanations and screenshots documenting

  Sql give syntax of how to create table in sql and also give

give syntax of how to create table in sql and also give small demo to how to create table in sql.

  Assignment on aggregate functions

After reviewing and completing the Unit 1 Guided Practice 2, I suggest that you review all tables using the Object Browser area of the SQL Workshop associated with the scenarios below, as well as field data types and data (case sensitivity) before..

  Use the prime minister database

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

  How does the order of joins in an sql statement

How does the order of joins in an SQL statement affect the performance of the join and what can the DBA do to determine the preferred order of joins for an SQL statement that includes the join of at least three tables?

  Describe theways to backup an oracle database

Describe three ways to backup an Oracle database

  Implementation using sql data definition language

In this project you will perform the physical design and implementation using SQL Data Definition Language (DDL) and proceed with populating the Mom and Pop Johnson Video Store database via Data Manipulation Language (DML) SQL commands.

  What selection criteria are used

Which fields are displayed in the query results

  Writing and execuinge sql command

The table name will be METALS and will be used to store description of various metals. Following offers some additional direction on how table must be created.

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