and express in Relational Algebra each of the questions below: Grades StudentId CourseCode Semester Grade 1001 ITDR3101 FL20 B 1002 ITSW3104 FL20 A 1003 ITGP4101 SP20 A  1001  ITDR2106  SP21  C   List the grades of students who studied the

Database Systems: Design, Implementation, & Management
11th Edition
ISBN:9781285196145
Author:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Chapter7: Introduction To Structured Query Language (sql)
Section: Chapter Questions
Problem 5P: Write the SQL code to change the job code to 501 for the person whose employee number (EMP_NUM) is...
icon
Related questions
icon
Concept explainers
Question

QUESTION 9

  1. Consider the following Grades table and express in Relational Algebra each of the questions below:

    Grades

    StudentId

    CourseCode

    Semester

    Grade

    1001

    ITDR3101

    FL20

    B

    1002

    ITSW3104

    FL20

    A

    1003

    ITGP4101

    SP20

    A

     1001

     ITDR2106

     SP21

     C

     

    1. List the grades of students who studied the course having the code “ITDR2106” in the semester “FL20”. 
    2. List the details of students who didn't get the grade ‘A’ in any course. 
    3. List the ids students who got the grade ‘B’ in ‘SP20’ semester. 
QUESTION 15
Fill the blanks with the suitable PL/SQL statements that correct each of the errors that appear in the given PL/SQL
program.
declare
employeeRecord employee%TYPE:
ename varchar2;
begin
fetch ename, salary inside employeeRecord from employee where enum = 'E8';
DBMS_OUTPUT.PUT_LINE(employee.ename|| || employee.Salary):|
end;
Transcribed Image Text:QUESTION 15 Fill the blanks with the suitable PL/SQL statements that correct each of the errors that appear in the given PL/SQL program. declare employeeRecord employee%TYPE: ename varchar2; begin fetch ename, salary inside employeeRecord from employee where enum = 'E8'; DBMS_OUTPUT.PUT_LINE(employee.ename|| || employee.Salary):| end;
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Query Syntax
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning