GATE CS 2023 · Question 61 · Databases · Numerical answer (NAT) · 2 marks · no negative marks

Consider the following table named Student in a relational database. The primary key of this table is rollNum.
Student
The SQL query below is executed on this database.
SELECT * FROM Student WHERE gender = ‘F’ AND marks > 65;
The number of rows returned by the query is ______.

rollNumnamegendermarks
1NamanM62
2AliyaF70
3AliyaF80
4JamesM82
5SwatiF65
Answer

Answer 2

Answer from the official GATE CS 2023 answer key.

The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes