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

  Interface with some other dbms

Develop a RDBMS (Relational Database Management System) in Python. The RDBMS should actually be written in Python, not just interface with some other DBMS. This system should track students: Personal Data, Schedules and Grades. The system should cont..

  Draw the er diagram for the given case study

Use the symbols as prescribed in your course-textbook to draw the ER diagram (ERD) for the above case study. Your ERD must - show all necessary entities, attributes and relationships and show identifiers/identifying attributes as necessary

  Construct a relational schema for the er-diagram

Construct a relational schema for the ER-diagram. Make sure that you correctly translate Specialization and Many-to-Many relationships. Please follow carefully the following guidelines when you ?nish this question.

  Explain what is meant by the process of denormalization

M359 Relational databases: theory and practice Assignment. Explain what is meant by the process of denormalization and how it is done. Explain why we may need to use denormalization (i.e. provide the motivation for denormalization)

  Display the data in the view

Create a view named OrdTot. It consists of the order number and order total for each order currently on file.

  Code for event handler for the onclick event

Write the code for the event handler for the OnClick event of btnReset. Write the code for event handler for the OnClick event of btnCheck so that the number of occurrences of the selected vowel are counted and displayed.

  Design and implement the best deal business database

Design and implement the Best Deal business database that you have modelled in the assignment-1 and a series of SQL queries to reflect the business logic of the Best Deal.

  Discuss the type of data needed for such a system

Discuss the type of data needed for such a system (attributes), the data types of these attributes, and data sources (where you might obtain such data, such as Point of Sale).

  Effect of stunting growth later in life

Several male athletes have reported having growth spurts well into their college years. Why is this phenomenon more likely for males then females?

  Create and print a select query that lists the book title

Create and PRINT a select query that lists the book title and List Price for all book title startwith Life. Save this query as KellyCaseC before you print it

  How to test the database management system''s functionality.

Why is this? do you think a cetain type or size of organization is more likely to skip these tests than another

  Design the database using the given fields and criteria

Design the database using the following fields and criteria: StudentID VARCHAR(8), FirstName varchar(20), Lastname varchar(20), ClassID varchar(20), Grade Integer(3) and Lettergrade Varchar(2).

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