Some faculty are grumbling that certain professors have an easy teaching load, defined as only a...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Some faculty are grumbling that certain professors have an easy teaching load, defined as only a few courses with low capacity, while others have a heavy load of many courses with high seat counts. Run a query to help answer this question. Your output should contain the faculty ID, faculty name (first and last-it's fine to have this as two separate fields, also fine to concatenate together), the largest capacity class the faculty member is assigned to teach, the maximum possible total student load (sum of all the course capacities), and the number of classes the faculty member is teaching. Include all faculty members, even if they are not assigned to teach any courses. Include courses only if they are taught by a faculty member. Sort your output ascending by the number of courses taught, with the professors with the fewest courses at the top. For example, if you had the following input data (the blank row at the bottom means Professor Poldark did not teach anything): Faculty ID 1 1 1 1 2 2 3 Faculty Name Michael Mouse Michael Mouse Michael Mouse Michael Mouse Nancy Drew Nancy Drew Ross Poldark Term Fall Spring Summer Summer Fall Spring Class Ears for the Novice Ears for the Novice Comedic Voices Calculus II Calculus I Calculus I Class capacity 50 20 10 20 30 10 Your desired out- put would be something like this: Faculty ID Faculty Name 3 Ross Poldark 2 Nancy Drew 1 Michael Mouse Max capacity Some indica- tion he did not teach anything 30 50 Sum of capacity Some indication he did not teach any- thing 40 100 How many classes Some indication he did not teach anything 2 4 Some faculty are grumbling that certain professors have an easy teaching load, defined as only a few courses with low capacity, while others have a heavy load of many courses with high seat counts. Run a query to help answer this question. Your output should contain the faculty ID, faculty name (first and last-it's fine to have this as two separate fields, also fine to concatenate together), the largest capacity class the faculty member is assigned to teach, the maximum possible total student load (sum of all the course capacities), and the number of classes the faculty member is teaching. Include all faculty members, even if they are not assigned to teach any courses. Include courses only if they are taught by a faculty member. Sort your output ascending by the number of courses taught, with the professors with the fewest courses at the top. For example, if you had the following input data (the blank row at the bottom means Professor Poldark did not teach anything): Faculty ID 1 1 1 1 2 2 3 Faculty Name Michael Mouse Michael Mouse Michael Mouse Michael Mouse Nancy Drew Nancy Drew Ross Poldark Term Fall Spring Summer Summer Fall Spring Class Ears for the Novice Ears for the Novice Comedic Voices Calculus II Calculus I Calculus I Class capacity 50 20 10 20 30 10 Your desired out- put would be something like this: Faculty ID Faculty Name 3 Ross Poldark 2 Nancy Drew 1 Michael Mouse Max capacity Some indica- tion he did not teach anything 30 50 Sum of capacity Some indication he did not teach any- thing 40 100 How many classes Some indication he did not teach anything 2 4
Expert Answer:
Answer rating: 100% (QA)
Answer SELECT FFacultyID CONCATFFirstName FLastName AS FacultyNa... View the full answer
Related Book For
Posted Date:
Students also viewed these programming questions
-
In regard to resource leveling, why are noncritical path activities generally the first to be delayed?
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
List three specific parts of the Case Guide, Objectives and Strategy Section (See below) that you had the most difficulty understanding. Describe your current understanding of these parts. Provide...
-
The contingency table shown relates happiness and gender for the 2012 GSS. a. Identify the response variable and the explanatory variable. b. Construct a table or graph showing the conditional...
-
Determine the atmospheric pressure at a location where the barometric reading is 750 mm Hg. Take the density of mercury to be 13,600 kg/m3.
-
Determine the static or dc resistance of the commercially available diode of Fig. 1.15 at a reverse voltage of -10 V. How does it compare to the value determined at a reverse voltage of -30 V?
-
Water flows over a sharp-crested triangular weir with \(\theta=90^{\circ}\). The head range covered is \(0.20 \leq H \leq 1.0 \mathrm{ft}\) and the accuracy in the measurement of the head, \(H\), is...
-
1. What did Nancy Denny think she was buying? What did she buy? On what legal theories did she sue? On what basis did she win? 2. Elsewhere in the decision, dissenting Judge Simons argues that the...
-
1. XYZ Corporation. runs boats along the coats of British Columbia. They purchased a cruising boat on May 2, 2023, for cash of $80,000. Its estimated useful life was 5 years or 20,000 hours with a...
-
Dylan, Devon, and Ricken form Lemon Corporation in the current year. Dylan contributes $30,000 cash in exchange for 30 shares of Lemon. Devon contributes land with a market value of $50,000 (basis of...
-
Consider the following key wrapping algorithm: 1. Initialize variables. A = A6A6A6A6A6A6A6A6 for i=1 to n R(i) = P 2. Calculate intermediate values. for j = 0 to 5 for i = 1 to n E (K, A (n x j) + i...
-
The Bolton Sign Company uses the allowance method in accounting for uncollectible accounts. Past experience indicates that 5% of accounts receivable will eventually be uncollectible. Selected account...
-
Stephanie Opal operates a cosmetics store. During the 2023 income year, Stephanie recorded the following trading stock balances (excluding GST): Trading stock at 30 June 2022 $95,000 (at cost)...
-
We need a memo on Chilean Mine: Introduce the Memo with an overall statement of what you want and why. Identify 6 safety problems in this Chilean Mine directly from the case ; state specifically what...
-
The function h(t)=-1.5t^(2)+30+4 represents the height, in meters, of the stomp rocket t seconds after it has been launched. When will the rocket return to its original starting height of 4 meters?
-
Julie hits a tennis ball over a tree. The ball is 2 feet above the ground when she hits it. The quadratic function that models the height, in feet, of the ball after t seconds is f(t)=-16t^(2)+31t+2....
-
by Laplace transformation Solve y" - 6y + 15y = 2 sin 3t, y(0) = -1, y/(0) = -4.
-
Chicago Company sold merchandise to a customer for $1,500 cash in a state with a 6% sales tax rate. The total amount of cash collected from the customer was $558. $600. $642. $636. Nevada Company...
-
The workplace in this situation is a casino. The casino employees have been unionized for the past decade. Initially they were represented by a small independent union, but three years ago that union...
-
How does labour legislation balance the employees right to join a union with the employers right to free speech during an organizing campaign?
-
What does it mean to have the procedural onus in an arbitration case?
-
A construction engineer has to inspect 5 construction sites in a 2-day inspection schedule. He may or may not be able to visit these sites in two days. He will not visit any site more than once. (a)...
-
An explosion in an LNG storage tank in the process of being repaired could have occurred as the result of static electricity, malfunctioning electrical equipment, an open flame in contact with the...
-
What conditions for the binomial distribution, if any, fail to hold in the following situations? (a) For each of a company's eight production facilities, record whether or not there was an accident...
Study smarter with the SolutionInn App