Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask PL-SQL Expert

SQL

1. Find the most classes taken by students

2. Change the department of the facility who teach math

3. Change the department of the facility who teach math course to MCS

4. Find names of students who enrolled in all courses

5. Find the students by student ID who have taken the most class (counted by enrolled students) and not counting where an ‘F' was the grade.

6. Find the facility by facility id who teach math class (class that have math in their name)

7. Change the major of all students who are math majors and have taken math course from Byrne to MCS.

8. Display the student's ID for all students enrolled in math course by Byrne.

9. Find all students by student ID enrolled in math course taught by Byrne.

10. Change the major of all students who are math majors to MCS.

11. Add three credit to credit earned by students who have taken the most course.

12. Insert a new facility record with id of F330, name jones, department of CSC and rank of instructor.

13. Erase all enrollment records for jane rivers

14. Find the names of all students by first name and last name are not enrolled in CSC201A

15. Find all courses in which fewer than three students are enrolled

16. Find the sum of all credits that history major have

17. Find the number of departments that have facility in them.

18. For each major, find the sum of all the credits that students with that major have.

FIGURE 5.4 The University Database

Student

stuId lastName firstName major credits

$1,001 Smith Tom History 90

S1002 Chin Ann Math 36

$1,005 Lee Perry History 3

S1010 Burns Edward Art 63

$1,013 McCarthy Owen Math 0

51015 Jones Mary Math 42

S1020 Rivera Jane CSC 15

Faculty

facld name department rank


F101 Adams Art Professor


F105 Tanaka CSC Instructor


F110 Byrne Math Assistant


1115 Smith History Associate


F221 Smith CSC Professor


Class Enroll
classNumber  facld  schedule  room stuld  classNumber  grade
ART103A F101 MWF9 H221 51001 AR1IO3A A
CSC201A F105 TuTh110 M110 $1,001 HST205A C
CSC203A F105 MThF12 11110 S1002 ARTIO3A D
HST205A F115 MWF11 H221 S1002 CSC201A F
MTHIOIB F110 MTuTh9 H225 S1002 MTM103C B
MTHIO3C F110 MWF11 H225 S1010 ART103A




S1010 MTHIO3C




S1020 CSC201A B




S1020 MTH101B A

PL-SQL, Programming

  • Category:- PL-SQL
  • Reference No.:- M91702691
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in PL-SQL

Purpose of the assessment with ulo mapping the purpose of

Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop skills in managing data in databases and to gain understanding of data model development and implementation using a commercially a ...

Complete the following tasksin microsoft access create the

Complete the following tasks: In Microsoft Access, create the database and tables that you identified in W3 Assignment 2. In Microsoft Word, write the SQL statements to create the database and tables. Write SQL statement ...

Continuing the project you have worked on in weeks 1-4 in

Continuing the project you have worked on in Weeks 1-4, in this final week, complete the following tasks: Refine your database and SQL statements by incorporating your instructor's feedback. Verify that the database comp ...

For this assignment you will be provided a database backup

For this assignment, you will be provided a database backup for a database called FinanceDB. You will have to restore this backup to your own version of SQL Server. All of the questions in this assignment relate to the F ...

Assignment - queries functions and triggersaimthe aims of

Assignment - Queries, Functions and Triggers Aim The aims of this assignment are to: formulate SQL queries; populate an RDBMS with a real dataset, and analyse the data; design test data for testing SQL queries; create SQ ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As