B3. Consider the following Student table and write the appropriate relational algebra query for each of the questions below: [4 marks] studentID firstNAME lastNAME AGE CourseID ITDR2106 City Sur 1001 Mariam Al Alawi 20 1002 Sameera Al Salti 22 ITDR2104 Sohar 1003 Rahma Al Ruzaiqi Al 22 ITDR1101 Muscat 1004 Bushra 23 ITDR2104 Muscat Mammari 1005 Salim Al Busaidi 24 ITSW3101 Muscat a) List the details of students who study the course having the id "ITDR2104" and whose age is below 23? [1]
SQL
SQL stands for Structured Query Language, is a form of communication that uses queries structured in a specific format to store, manage & retrieve data from a relational database.
Queries
A query is a type of computer programming language that is used to retrieve data from a database. Databases are useful in a variety of ways. They enable the retrieval of records or parts of records, as well as the performance of various calculations prior to displaying the results. A search query is one type of query that many people perform several times per day. A search query is executed every time you use a search engine to find something. When you press the Enter key, the keywords are sent to the search engine, where they are processed by an algorithm that retrieves related results from the search index. Your query's results are displayed on a search engine results page, or SER.
Step by step
Solved in 2 steps