Consider the Database schema on the relations   Courses (Number, Faculty, Course Title, Tutor) Student (Number, Surname, First Name, Faculty) Tutors (Number, Surname, First Name) Exam (Student, Course, Grade, Date) Study Plan (Student, Course, Year)   Formulate in relational algebra, in domain calculus, in tuple calculus and in Data log, the queries that produce:   The student who have gained an ‘A’ in at least one exam, showing for each of them, the first name, sur name and the date of the first of such occasions; For every course in the engineering faculty, the student who passes the exam during last session; The students who pass all the exams required by their respective study plan For every course in the literature faculty, the student who pass the exam with the highest grade; The student whose study plans require them to attend lectures only in their own faculties; First name and sur name of the students who have taken an exam with a tutor having the same surname as the student.

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
Chapter10: Transaction Management And Concurrency Control
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
100%

Consider the Database schema on the relations

 

Courses (Number, Faculty, Course Title, Tutor)

Student (Number, Surname, First Name, Faculty)

Tutors (Number, Surname, First Name)

Exam (Student, Course, Grade, Date)

Study Plan (Student, Course, Year)

 

Formulate in relational algebra, in domain calculus, in tuple calculus and in Data log, the queries that produce:

 

  • The student who have gained an ‘A’ in at least one exam, showing for each of them, the first name, sur name and the date of the first of such occasions;
  • For every course in the engineering faculty, the student who passes the exam during last session;
  • The students who pass all the exams required by their respective study plan
  • For every course in the literature faculty, the student who pass the exam with the highest grade;
  • The student whose study plans require them to attend lectures only in their own faculties;
  • First name and sur name of the students who have taken an exam with a tutor having the same surname as the student.
O#2: Consider the Database schema on the relations
Courses (Number, Faculty, Course Title, Tutor)
Student (Number, Surname, First Name, Faculty)
Tutors (Number, Surname, First Name)
Exam (Student, Course, Grade, Date)
Study Plan (Student, Course, Year)
Formulate in relational algebra, in domain calculus, in tuple calculus and in Data log, the queries that
produce:
1) The student who have gained an A' in at least one exam, showing for each of them, the first
name, sur name and the date of the first of such occasions;
2) For every course in the engineering faculty, the student who passes the exam during last
session;
3) The students who pass all the exams required by their respective study plan
4) For every course in the literature faculty, the student who pass the exam with the highest grade;
5) The student whose study plans require them to attend lectures only in their own faculties;
6) First name and sur name of the students who have taken an exam with a tutor having the same
surname as the student.
Transcribed Image Text:O#2: Consider the Database schema on the relations Courses (Number, Faculty, Course Title, Tutor) Student (Number, Surname, First Name, Faculty) Tutors (Number, Surname, First Name) Exam (Student, Course, Grade, Date) Study Plan (Student, Course, Year) Formulate in relational algebra, in domain calculus, in tuple calculus and in Data log, the queries that produce: 1) The student who have gained an A' in at least one exam, showing for each of them, the first name, sur name and the date of the first of such occasions; 2) For every course in the engineering faculty, the student who passes the exam during last session; 3) The students who pass all the exams required by their respective study plan 4) For every course in the literature faculty, the student who pass the exam with the highest grade; 5) The student whose study plans require them to attend lectures only in their own faculties; 6) First name and sur name of the students who have taken an exam with a tutor having the same surname as the student.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 6 images

Blurred answer
Knowledge Booster
Complex Datatypes
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