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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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