Select statements to query the student schema

Assignment Help Basic Computer Science
Reference no: EM131470244

Advanced Queries

Instructions

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: EM131470244

Questions Cloud

What role does migration play in global capitalist system : What role does migration play in global capitalist system? How are these issues of international working class related to globalization and global capitalism?
Identify five inherent risks for the audit of bega cheese : Identify FIVE inherent risks for the audit of Bega Cheese. For each inherent risk, identify the account or accounts that may be affected
Would that decision be binding on the illinois court : Binding versus Persuasive Authority. A county court in Illinois is deciding a case involving an issue that has never been addressed before in that states court.
Probe and investigate mobile devices : What are some tools that can be used to probe and investigate mobile devices.
Select statements to query the student schema : 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.
What is plaintiff and defendant : Arthur Rabe is suing Xavier Sanchez for breaching a contract in which Sanchez promised to sell Rabe a painting by Vincent van Gogh for $150,000.
Who is able to benefit from the given information and how : What level of government provides information and resources for the issue that you have selected? Who is able to benefit from this information and how?
Proactively addressing today cyberthreats : Research one publicized cyber breach from the last year. Describe what happened, the impact, and what could have been done to prevent the breach.
Typical syntax errors commonly found in dfd : Identify three typical syntax errors commonly found in DFDs.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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