The document provides instructions for a database systems exam, asking students to write 5 SQL statements using a provided schema: (1) find students born after 1990, (2) find students with over 80% marks in ascending order, (3) find students whose first name has 'i' as the second letter, (4) find the student with the second highest marks, and (5) give a 2% bonus to students who took the "Database" course.
The document provides instructions for a database systems exam, asking students to write 5 SQL statements using a provided schema: (1) find students born after 1990, (2) find students with over 80% marks in ascending order, (3) find students whose first name has 'i' as the second letter, (4) find the student with the second highest marks, and (5) give a 2% bonus to students who took the "Database" course.
The document provides instructions for a database systems exam, asking students to write 5 SQL statements using a provided schema: (1) find students born after 1990, (2) find students with over 80% marks in ascending order, (3) find students whose first name has 'i' as the second letter, (4) find the student with the second highest marks, and (5) give a 2% bonus to students who took the "Database" course.
1. Using the above schema write the SQL statement to find
i. All the students who born after 1990. ii. All the students having percentage of marks greeter than 80% in ascending order. iii. All the students where the second letter in the first name is ‘i’? iv. The student having 2nd highest percentage of marks. v. Give 2% bonus marks who take the course “Database”.