Question: QUESTION 1 1 . 1 Convert the following SQL Statements into Relational Algebra 1 . 1 . 1 Select ProductId From Product Where ProductColour =

QUESTION 1
1.1 Convert the following SQL Statements into Relational Algebra
1.1.1 Select ProductId From Product Where ProductColour = 'Red'
1.1.2 Select StudentName From Student Where Age >23
1.1.3 Select StudentName, StudentGender From Student JOIN Campus Where
StudentCampus = 'Musgrave'
1.2 Convert the following Relational Algebra Statements into SQL Statements
1.2.1userlD>2 vage =21( Student )
1.2.2class(age23( Student ))
1.2.3name(((bldcolour' red ?(()()')B)|>|R)|>|S)
QUESTION 2
(30 MARKS)
2.1 We use APIs (Application Programming Interfaces) to connect databases to different
applications in different programming languages. Discuss three different database APIs. In your
discussion, reference API calls, advantages, and disadvantages of APIs. Give examples of how
you would use each API. Finally, comment on whether these APIs are better than SQL
Embedding or not and why you think so.
QUESTION 1 1 . 1 Convert the following SQL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!