Query the student schema you created for practice lab

Assignment Help Database Management System
Reference no: EM131453748 , Length: 1

Write 10 queries (see assignment instruction for detailed requirements) to query the STUDENT schema you created for practice lab 1. 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 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.

Attachment:- createStudent.rar

Reference no: EM131453748

Questions Cloud

What is the riskless interest rate : In a binomial model a call option and a put option are both written on the same stock. The exercise price of the call option is 30 and the exercise price.
What is the arithmetic average rate of return earned : Calculate average rate of return for each year from above information. What is the arithmetic average rate of return earned by investing in Caswell's stock
What is the researchers interpretation of findings : Identify the clinical problem and research problem that led to the study. What was not known about the clinical problem.
Create a business plan to enter a global market : Create a business plan for this organization to enter a global market in which they are not already doing business (see section 2 of Table 8.1).
Query the student schema you created for practice lab : Write 10 queries (see assignment instruction for detailed requirements) to query the STUDENT schema you created for practice lab 1. Your Select Statements should run error-free and should be valid.
Brief methodology of the project : You should your own project topic and then briefly write a problem statement followed by aim and objectives and a brief methodology of the project
Specialty drug programs and pharmacy benefit management : Please provide a one and half page (800 words) paper on "Specialty Drug Programs and Pharmacy Benefit Management (PBMs).
Calculate the efficient portfolio : Given this matrix, and assuming that the risk-free rate is 0%, calculate the efficient portfolio of these six firms.
Business people have in assessing the mental capacity : What responsibility do business people have in assessing the mental capacity of people they do business with?

Reviews

Write a Review

Database Management System Questions & Answers

  Compute the customer margin for the hoium family

Compute the activity rates (i.e., cost per unit of activity) for the activity cost pools. Round off all calculations to the nearest whole cent.

  Determining the matrix form of game

Assume a game with two players, A and B, who raise one or both hands concurrently. A wins if total number of hands raised is odd, and B wins in other way.Write down the matrix form of the game. Is there a pure strategy solution? Explain your answer..

  Explain the need for key restructuring

Give at least three reasons why ETL functions are most challenging in a data warehouse environment.

  Database planner should spend a considerable amount of time

Provide what reports may be produced as a result of your database design.Based on the information you have researched, create a 2-3 page design document that includes a description of the database you would like to create as well as sample tables ..

  What relationships exist between the data

In what ways would a DBMS help this organization? What data can you identify that needs to be represented in the database? What relationships exist between the data? What queries do you think are required?

  Implement direct-address table keys of stored elements

Suggest how to implement direct-address table in which keys of stored elements don't require to be distinct and elements can have satellite data.

  The time to complete data modeling

How must a database designer balance the time to complete data modeling steps with the benefits the data modeling process offers in creating a database? Consider examples from your work place and class assignments.

  Choose one of the nosqldata models and describe it

Big Data brought its own challenges to the field of databases. What are these challenges, and how does the emerging NoSQL model address these challenges?The different NoSQL technologies were created to meet different needs.

  Measurement of two lengths in feet and inches

"create a form with textboxes to enter the measurement of two lengths in feet and inches as integer values and compute the total length in feet and inches. For example, the total length of 5 feet 8 inches and 4 feet 6 inches is 10 feet 2 inches; a..

  Create fully normalized 3nf table designs for the system

Assignment CIS5200 - Draw an ERD for Auto-Parts Warehouse indicating the types of relationships between the entities and Create fully normalized 3NF table designs for the system.

  How a relational data solution can be applied

how a relational data solution can be applied to a current business problem

  Create trend-moving averages with the given values form

Create trend-moving averages with the following values form: 10, 100, and 200. Graph the data with Excel. Create centered-moving averages with the following values form: 10, 100, and 200. Graph the data with Excel.

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