Write queries that return the following resultsets: Students are awarded two grades based on the minimum...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write queries that return the following resultsets: Students are awarded two grades based on the minimum and maximum progress they are making in their courses. The grading scale is as follows: Progress < 40: Progress < 50: Progress < 60: Progress < 70: B Progress >= 70: A Write a query that displays each student's First Name, Last Name, Minimum Grade based on their minimum progress, and Maximum Grade based on their maximum progress. The output should be sorted by Minimum Grade in descending order, then by Maximum Grade in descending order, then by First Name in ascending order, then by Last Name in ascending order 200 College Management System Schema department id name faculty id F D Column Name firstname lastname deptid C student city state Column Name id firstname lastname street streetDetail Column Name postalCode majorld Data Type int varchar(30) Data Type int varchar(30) varchar(50) int Data Type int varchar(30) varchar(50) varchar(50) varchar(30) varchar(30) varchar(30) char(5) int Allow Nulls 000 Allow Nulls OOOOO Allow Nulls OOOOOOOOO ko course id Column Name name deptid studentCourse Column Name studentid courseld progress startDate facultyCourse Column Name oc facultyld courseld int varchar(50) int Data Type int int int date int int Data Type Data Type Allow Nulls oooo Allow Nulls ooooo 0 Allow Nulls 000 Write queries that return the following resultsets: Students are awarded two grades based on the minimum and maximum progress they are making in their courses. The grading scale is as follows: Progress < 40: Progress < 50: Progress < 60: Progress < 70: B Progress >= 70: A Write a query that displays each student's First Name, Last Name, Minimum Grade based on their minimum progress, and Maximum Grade based on their maximum progress. The output should be sorted by Minimum Grade in descending order, then by Maximum Grade in descending order, then by First Name in ascending order, then by Last Name in ascending order 200 College Management System Schema department id name faculty id F D Column Name firstname lastname deptid C student city state Column Name id firstname lastname street streetDetail Column Name postalCode majorld Data Type int varchar(30) Data Type int varchar(30) varchar(50) int Data Type int varchar(30) varchar(50) varchar(50) varchar(30) varchar(30) varchar(30) char(5) int Allow Nulls 000 Allow Nulls OOOOO Allow Nulls OOOOOOOOO ko course id Column Name name deptid studentCourse Column Name studentid courseld progress startDate facultyCourse Column Name ocfacultyld courseld int varchar(50) int Data Type int int int date int int Data Type Data Type Allow Nulls oooo Allow Nulls ooooo 0 Allow Nulls 000 Write queries that return the following resultsets: Students are awarded two grades based on the minimum and maximum progress they are making in their courses. The grading scale is as follows: Progress < 40: Progress < 50: Progress < 60: Progress < 70: B Progress >= 70: A Write a query that displays each student's First Name, Last Name, Minimum Grade based on their minimum progress, and Maximum Grade based on their maximum progress. The output should be sorted by Minimum Grade in descending order, then by Maximum Grade in descending order, then by First Name in ascending order, then by Last Name in ascending order 200 College Management System Schema department id name faculty id F D Column Name firstname lastname deptid C student city state Column Name id firstname lastname street streetDetail Column Name postalCode majorld Data Type int varchar(30) Data Type int varchar(30) varchar(50) int Data Type int varchar(30) varchar(50) varchar(50) varchar(30) varchar(30) varchar(30) char(5) int Allow Nulls 000 Allow Nulls OOOOO Allow Nulls OOOOOOOOO ko course id Column Name name deptid studentCourse Column Name studentid courseld progress startDate facultyCourse Column Name oc facultyld courseld int varchar(50) int Data Type int int int date int int Data Type Data Type Allow Nulls oooo Allow Nulls ooooo 0 Allow Nulls 000 Write queries that return the following resultsets: Students are awarded two grades based on the minimum and maximum progress they are making in their courses. The grading scale is as follows: Progress < 40: Progress < 50: Progress < 60: Progress < 70: B Progress >= 70: A Write a query that displays each student's First Name, Last Name, Minimum Grade based on their minimum progress, and Maximum Grade based on their maximum progress. The output should be sorted by Minimum Grade in descending order, then by Maximum Grade in descending order, then by First Name in ascending order, then by Last Name in ascending order 200 College Management System Schema department id name faculty id F D Column Name firstname lastname deptid C student city state Column Name id firstname lastname street streetDetail Column Name postalCode majorld Data Type int varchar(30) Data Type int varchar(30) varchar(50) int Data Type int varchar(30) varchar(50) varchar(50) varchar(30) varchar(30) varchar(30) char(5) int Allow Nulls 000 Allow Nulls OOOOO Allow Nulls OOOOOOOOO ko course id Column Name name deptid studentCourse Column Name studentid courseld progress startDate facultyCourse Column Name ocfacultyld courseld int varchar(50) int Data Type int int int date int int Data Type Data Type Allow Nulls oooo Allow Nulls ooooo 0 Allow Nulls 000
Expert Answer:
Answer rating: 100% (QA)
Based on the the grading scale specified SELECT firstname lastname CASE WHEN MINprogress 40 ... View the full answer
Related Book For
Business Analytics Communicating With Numbers
ISBN: 9781260785005
1st Edition
Authors: Sanjiv Jaggia, Alison Kelly, Kevin Lertwachara, Leida Chen
Posted Date:
Students also viewed these databases questions
-
(1) (a) An AISI 4340 steel plate has a width W of 30 cm and has a central crack 2 a of 3 mm. The plate is under a uniform stress. This steel has a KIc value of 50 MPa m1/2. Find the maximum stress...
-
Dr. Jenny Brown is the new CEO of a hotel chain, Hassle Free Hotel. The hotels headquarter is based in Atlanta, Georgia in the U.S. The company was established in 2004. It has a central reservation...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
1. A projectile is launched in a vertical plane, at an angle 0 with initial velocity vo. It must be caught in a frictionless circular tube of radius R in such a way that the trajectory of the...
-
1. Which of the eight characteristics of team excellence are lacking in this team? 2. Based on this analysis of team effectiveness, should Jim intervene at this time, or should he just keep...
-
Comp Tech, Inc. manufactures printers for use with home computing systems. The firm currently manufactures both the electronic components for its printers and the plastic cases in which the devices...
-
Who is accountable for performing verification?
-
Analyzing Gross Profit Percentage on the Basis of an Income Statement The following summarized data were provided by the records of Slate, Incorporated, for the year ended December 31, 2012:...
-
Cool Kids Ltd has annual turnover of 8 4 , 9 0 0 . 8 5 % of the sales are standard rated and 1 5 % are zero rated. Standard rated expenses are 1 4 , 1 0 0 . All figures are exclusive of VAT. The...
-
The first-quarter tax return needs to be filed for Prevosti Farms and Sugarhouse by April 15, 2022. For the taxes, assume the second February payroll amounts were duplicated for the March 4 and March...
-
1. Let So be the current stock price and r the continuously compounded interest rate. Using no arbitrage arguments, show that, when there is a continuously compounded dividend yield 6, the forward...
-
A smaller group within a culture. a. code of ethics b. culture c. ethics d. morals e. subculture f. values g. whistleblower
-
The status when a tenant wrongfully extends tenancy beyond the term of the original lease. a. abandonment b. assignment c. condition d. covenant e. eviction f. lease g. lessee h. lessor i. periodic...
-
The sum total of all the learned beliefs, values, and customs that serve to regulate the behavior of members of a particular society. a. code of ethics b. culture c. ethics d. morals e. subculture f....
-
A lease in which no specifi c time has been agreed. a. abandonment b. assignment c. condition d. covenant e. eviction f. lease g. lessee h. lessor i. periodic tenancy j. quiet enjoyment k. sublease...
-
A lease for a specifi c period of timeweeks, months, years, and so forth. a. abandonment b. assignment c. condition d. covenant e. eviction f. lease g. lessee h. lessor i. periodic tenancy j. quiet...
-
Company XYZ is expected to pay a dividend of $4 in 2 years and a dividend of $6 in 3 years after which you expect dividends to grow at 5% for the foreseeable future. What would you expect the price...
-
The text defined intrinsic value as the value of an asset given a hypothetically complete understanding of the assets investment characteristics. Discuss why hypothetically is included in the...
-
The accompanying file contains four observations with four categorical variables, x 1 , x 2 , x 3 , and x 4 . a. Compute the matching coefficient for all pairwise observations. b. Identify the pair...
-
Sunnyville Bank wants to identify customers who may be interested in its new mobile banking app. The worksheet called Mobile_Banking_Data contains 500 customer records collected from a previous...
-
Answer the following questions using the accompanying data set that lists the actual class memberships and predicted Class 1 (target class) probabilities for 10 observations. a. Compute the...
-
A reversible process is a process (a) Which proceeds with no driving force (b) Which takes place spontaneously (c) Which is quasi-static (d) Which is frictional process.
-
At constant temperature and pressure, the free energy for a chemically reacting system at equilibrium is (a) Minimum (b) Maximum (c) Can not be predicted (d) None of these.
-
The operation of a throttling device follows the (a) Zeroth law of thermodynamics (b) First law of thermodynamics (c) Second law of thermodynamics (d) Third law of thermodynamics.
Study smarter with the SolutionInn App