Write 10 advanced sql select statements

Assignment Help Basic Computer Science
Reference no: EM131610576

Write 10 advanced SQL SELECT statements

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.

Reference no: EM131610576

Questions Cloud

Explain why customer-centered design is important : Explain why customer-centered design is important. Explain why it is important to understand visitors to your site who are not your customers and visit
Define what was the situation five years after the crime : What was the situation five years after the crime, What is anthrax, How was anthrax used in the crimes
The effectiveness of current abstinence programs : I am taking HIV/AIDs class, we asked as group to do position paper, our topic is about arguing about effectiveness of current abstinence programs.
What is the molality of zn in the solid solution : Brass is a substitutional alloy consisting of a solution of copper and zinc. A particular sample of red brass consisting of 80.0% Cu and 20.0% Zn.
Write 10 advanced sql select statements : Write 10 queries (see assignment instruction for detailed requirements) to query the STUDENT schema you created for practice lab 1.
What is the effective cost of borrowing in case : Current practice is to factor all receivables immediately at a discount of 1.8 percent. What is the effective cost of borrowing in this case?
What types of physical tests would you recommend : Do you believe physical ability tests should given to individuals being considered for your type of work? What types of physical tests would you recommend?
Explain what costs would be included : Choose a well-known publicly traded company and explain what costs would be included in each of the three manufacturing cost categories.
Disjoint sets with a universe of n elements : Prove that if Union-by-Weight is used on disjoint sets with a universe of n elements, for all unions, the length of the deepest node is no more than log n.

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