SlideShare une entreprise Scribd logo
1  sur  1
Télécharger pour lire hors ligne
Let us consider the following relational database. - Professors (id, fName, IName, ssn, email) -
Students (id, JName, IName, dob, gpa, email) - TeachesCourses(number, sectionNo, semester,
creditHrs, title, profID) - CompLanguages(studentil complanguage) - Enrolls(studentID number,
sectionNo, semester, courseGrade) - Use(iradingschema(number sectionNo, semester cutoff
letter(irade) - HasGradingCategoriess (category, weight, mumber, sectionNo, semester) -
Gradingactivites (categord Litle, maxPoints) - Submit(studentID, category, title point) The primary
key for each relation is underlined. The foreign keys for this database are as follows: - the column
proflD of relation TeachesCourses that references table Professors, - the column studentID of
relation CompLanguages that relerences table Students, - the column studentID of relation Enrolls
that references table Students, - the columns number, sectionNo, semester of relation Enrolls that
references table TeachesCourses, - the columns number, sectionNo, semester of relation
UseGradingSchema that references table TeachesCourses, - the columns number, sectionNo,
semester of relation HasGradingCategoriess that references table TeachesCourses, - the column
category of relation GradingActivites that references table HasGradingCategoriess. - the column
studentiD of relation Submits that references table Students, and - the columns category and tile
of relation Submits that references table GradingActivites Task: Write exactly one SQL statement
for the following question. Also, the query answers must not contain duplicates, but you should
use the SQL keyword distinct only when necessary. Use ecLab.sql to test your code, and its
output should be like the one listed here. Otherwise. your SQL code has a logic error(s). Q:
Retrieve the course titles offered in Spring 2020, along with their professor's ID. Hints: it can be
solved by using one input table.

Contenu connexe

Similaire à Let us consider the following relational database Profess.pdf

Spss Basics4 22 09
Spss Basics4 22 09Spss Basics4 22 09
Spss Basics4 22 09chaley09
 
CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:DeanMurphys
 
Introduction To Statistics.ppt
Introduction To Statistics.pptIntroduction To Statistics.ppt
Introduction To Statistics.pptManish Agarwal
 
Quantitative analysis using SPSS
Quantitative analysis using SPSSQuantitative analysis using SPSS
Quantitative analysis using SPSSAlaa Sadik
 
Adbms 13 inheritance in complex objects
Adbms 13 inheritance in complex objectsAdbms 13 inheritance in complex objects
Adbms 13 inheritance in complex objectsVaibhav Khanna
 
database normalization case study
database normalization case studydatabase normalization case study
database normalization case studyi i
 

Similaire à Let us consider the following relational database Profess.pdf (8)

Introduction to statistics
Introduction to statisticsIntroduction to statistics
Introduction to statistics
 
Spss Basics4 22 09
Spss Basics4 22 09Spss Basics4 22 09
Spss Basics4 22 09
 
CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:CSI2132: Database I – Assignment 3:
CSI2132: Database I – Assignment 3:
 
Introduction To Statistics.ppt
Introduction To Statistics.pptIntroduction To Statistics.ppt
Introduction To Statistics.ppt
 
Keys.ppt
Keys.pptKeys.ppt
Keys.ppt
 
Quantitative analysis using SPSS
Quantitative analysis using SPSSQuantitative analysis using SPSS
Quantitative analysis using SPSS
 
Adbms 13 inheritance in complex objects
Adbms 13 inheritance in complex objectsAdbms 13 inheritance in complex objects
Adbms 13 inheritance in complex objects
 
database normalization case study
database normalization case studydatabase normalization case study
database normalization case study
 

Plus de response3

Leonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdf
Leonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdfLeonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdf
Leonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdfresponse3
 
Let X denote the amount of space occupied by an article plac.pdf
Let X denote the amount of space occupied by an article plac.pdfLet X denote the amount of space occupied by an article plac.pdf
Let X denote the amount of space occupied by an article plac.pdfresponse3
 
Let X be a uniform random variable defined in 01 Also le.pdf
Let X be a uniform random variable defined in 01 Also le.pdfLet X be a uniform random variable defined in 01 Also le.pdf
Let X be a uniform random variable defined in 01 Also le.pdfresponse3
 
Leo Mike Donny and Raph are forming a general partnership.pdf
Leo Mike Donny and Raph are forming a general partnership.pdfLeo Mike Donny and Raph are forming a general partnership.pdf
Leo Mike Donny and Raph are forming a general partnership.pdfresponse3
 
Let X be a random variable with a negative binomial distribu.pdf
Let X be a random variable with a negative binomial distribu.pdfLet X be a random variable with a negative binomial distribu.pdf
Let X be a random variable with a negative binomial distribu.pdfresponse3
 
Let X be a normal distributed random variable with 4 and st.pdf
Let X be a normal distributed random variable with 4 and st.pdfLet X be a normal distributed random variable with 4 and st.pdf
Let X be a normal distributed random variable with 4 and st.pdfresponse3
 
Let X be a continuous random variable defined on the probabi.pdf
Let X be a continuous random variable defined on the probabi.pdfLet X be a continuous random variable defined on the probabi.pdf
Let X be a continuous random variable defined on the probabi.pdfresponse3
 
Let X be a discrete random variable that takes a value of ei.pdf
Let X be a discrete random variable that takes a value of ei.pdfLet X be a discrete random variable that takes a value of ei.pdf
Let X be a discrete random variable that takes a value of ei.pdfresponse3
 
Leon de 45 aos participa activamente en el plan de jubila.pdf
Leon de 45 aos participa activamente en el plan de jubila.pdfLeon de 45 aos participa activamente en el plan de jubila.pdf
Leon de 45 aos participa activamente en el plan de jubila.pdfresponse3
 
let X be a discrete random variable whose probability mass f.pdf
let X be a discrete random variable whose probability mass f.pdflet X be a discrete random variable whose probability mass f.pdf
let X be a discrete random variable whose probability mass f.pdfresponse3
 
Let X be a continuous random variable such that x05917 Fi.pdf
Let X be a continuous random variable such that x05917 Fi.pdfLet X be a continuous random variable such that x05917 Fi.pdf
Let X be a continuous random variable such that x05917 Fi.pdfresponse3
 
Let X and Y be random variables with joint density shown in.pdf
Let X and Y be random variables with joint density shown in.pdfLet X and Y be random variables with joint density shown in.pdf
Let X and Y be random variables with joint density shown in.pdfresponse3
 
Leontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdf
Leontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdfLeontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdf
Leontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdfresponse3
 
Let X and Y be two statistically independent random variable.pdf
Let X and Y be two statistically independent random variable.pdfLet X and Y be two statistically independent random variable.pdf
Let X and Y be two statistically independent random variable.pdfresponse3
 
Let X be a continuous random variable with density function.pdf
Let X be a continuous random variable with density function.pdfLet X be a continuous random variable with density function.pdf
Let X be a continuous random variable with density function.pdfresponse3
 
Let Snn01 be a branching process whose offspring dist.pdf
Let Snn01 be a branching process whose offspring dist.pdfLet Snn01 be a branching process whose offspring dist.pdf
Let Snn01 be a branching process whose offspring dist.pdfresponse3
 
Let SF be the discrete random variables associated to Bisho.pdf
Let SF be the discrete random variables associated to Bisho.pdfLet SF be the discrete random variables associated to Bisho.pdf
Let SF be the discrete random variables associated to Bisho.pdfresponse3
 
Let S be the universal set where S123181920 Let .pdf
Let S be the universal set where S123181920 Let .pdfLet S be the universal set where S123181920 Let .pdf
Let S be the universal set where S123181920 Let .pdfresponse3
 
Let G be a graph with V vertices and E edges The Time compl.pdf
Let G be a graph with V vertices and E edges The Time compl.pdfLet G be a graph with V vertices and E edges The Time compl.pdf
Let G be a graph with V vertices and E edges The Time compl.pdfresponse3
 
Let R be a relation on A1457 and R111471.pdf
Let R be a relation on A1457 and R111471.pdfLet R be a relation on A1457 and R111471.pdf
Let R be a relation on A1457 and R111471.pdfresponse3
 

Plus de response3 (20)

Leonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdf
Leonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdfLeonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdf
Leonardo Di Capriolu Tufandan nce Filmi filmini izledikt.pdf
 
Let X denote the amount of space occupied by an article plac.pdf
Let X denote the amount of space occupied by an article plac.pdfLet X denote the amount of space occupied by an article plac.pdf
Let X denote the amount of space occupied by an article plac.pdf
 
Let X be a uniform random variable defined in 01 Also le.pdf
Let X be a uniform random variable defined in 01 Also le.pdfLet X be a uniform random variable defined in 01 Also le.pdf
Let X be a uniform random variable defined in 01 Also le.pdf
 
Leo Mike Donny and Raph are forming a general partnership.pdf
Leo Mike Donny and Raph are forming a general partnership.pdfLeo Mike Donny and Raph are forming a general partnership.pdf
Leo Mike Donny and Raph are forming a general partnership.pdf
 
Let X be a random variable with a negative binomial distribu.pdf
Let X be a random variable with a negative binomial distribu.pdfLet X be a random variable with a negative binomial distribu.pdf
Let X be a random variable with a negative binomial distribu.pdf
 
Let X be a normal distributed random variable with 4 and st.pdf
Let X be a normal distributed random variable with 4 and st.pdfLet X be a normal distributed random variable with 4 and st.pdf
Let X be a normal distributed random variable with 4 and st.pdf
 
Let X be a continuous random variable defined on the probabi.pdf
Let X be a continuous random variable defined on the probabi.pdfLet X be a continuous random variable defined on the probabi.pdf
Let X be a continuous random variable defined on the probabi.pdf
 
Let X be a discrete random variable that takes a value of ei.pdf
Let X be a discrete random variable that takes a value of ei.pdfLet X be a discrete random variable that takes a value of ei.pdf
Let X be a discrete random variable that takes a value of ei.pdf
 
Leon de 45 aos participa activamente en el plan de jubila.pdf
Leon de 45 aos participa activamente en el plan de jubila.pdfLeon de 45 aos participa activamente en el plan de jubila.pdf
Leon de 45 aos participa activamente en el plan de jubila.pdf
 
let X be a discrete random variable whose probability mass f.pdf
let X be a discrete random variable whose probability mass f.pdflet X be a discrete random variable whose probability mass f.pdf
let X be a discrete random variable whose probability mass f.pdf
 
Let X be a continuous random variable such that x05917 Fi.pdf
Let X be a continuous random variable such that x05917 Fi.pdfLet X be a continuous random variable such that x05917 Fi.pdf
Let X be a continuous random variable such that x05917 Fi.pdf
 
Let X and Y be random variables with joint density shown in.pdf
Let X and Y be random variables with joint density shown in.pdfLet X and Y be random variables with joint density shown in.pdf
Let X and Y be random variables with joint density shown in.pdf
 
Leontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdf
Leontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdfLeontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdf
Leontiefin ABD ticareti zerine HeckscherOhlin modeli test.pdf
 
Let X and Y be two statistically independent random variable.pdf
Let X and Y be two statistically independent random variable.pdfLet X and Y be two statistically independent random variable.pdf
Let X and Y be two statistically independent random variable.pdf
 
Let X be a continuous random variable with density function.pdf
Let X be a continuous random variable with density function.pdfLet X be a continuous random variable with density function.pdf
Let X be a continuous random variable with density function.pdf
 
Let Snn01 be a branching process whose offspring dist.pdf
Let Snn01 be a branching process whose offspring dist.pdfLet Snn01 be a branching process whose offspring dist.pdf
Let Snn01 be a branching process whose offspring dist.pdf
 
Let SF be the discrete random variables associated to Bisho.pdf
Let SF be the discrete random variables associated to Bisho.pdfLet SF be the discrete random variables associated to Bisho.pdf
Let SF be the discrete random variables associated to Bisho.pdf
 
Let S be the universal set where S123181920 Let .pdf
Let S be the universal set where S123181920 Let .pdfLet S be the universal set where S123181920 Let .pdf
Let S be the universal set where S123181920 Let .pdf
 
Let G be a graph with V vertices and E edges The Time compl.pdf
Let G be a graph with V vertices and E edges The Time compl.pdfLet G be a graph with V vertices and E edges The Time compl.pdf
Let G be a graph with V vertices and E edges The Time compl.pdf
 
Let R be a relation on A1457 and R111471.pdf
Let R be a relation on A1457 and R111471.pdfLet R be a relation on A1457 and R111471.pdf
Let R be a relation on A1457 and R111471.pdf
 

Dernier

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 

Dernier (20)

Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 

Let us consider the following relational database Profess.pdf

  • 1. Let us consider the following relational database. - Professors (id, fName, IName, ssn, email) - Students (id, JName, IName, dob, gpa, email) - TeachesCourses(number, sectionNo, semester, creditHrs, title, profID) - CompLanguages(studentil complanguage) - Enrolls(studentID number, sectionNo, semester, courseGrade) - Use(iradingschema(number sectionNo, semester cutoff letter(irade) - HasGradingCategoriess (category, weight, mumber, sectionNo, semester) - Gradingactivites (categord Litle, maxPoints) - Submit(studentID, category, title point) The primary key for each relation is underlined. The foreign keys for this database are as follows: - the column proflD of relation TeachesCourses that references table Professors, - the column studentID of relation CompLanguages that relerences table Students, - the column studentID of relation Enrolls that references table Students, - the columns number, sectionNo, semester of relation Enrolls that references table TeachesCourses, - the columns number, sectionNo, semester of relation UseGradingSchema that references table TeachesCourses, - the columns number, sectionNo, semester of relation HasGradingCategoriess that references table TeachesCourses, - the column category of relation GradingActivites that references table HasGradingCategoriess. - the column studentiD of relation Submits that references table Students, and - the columns category and tile of relation Submits that references table GradingActivites Task: Write exactly one SQL statement for the following question. Also, the query answers must not contain duplicates, but you should use the SQL keyword distinct only when necessary. Use ecLab.sql to test your code, and its output should be like the one listed here. Otherwise. your SQL code has a logic error(s). Q: Retrieve the course titles offered in Spring 2020, along with their professor's ID. Hints: it can be solved by using one input table.