Exams
Subjects
Classes
Home
Exams
Computer Science and IT Engineering
Database Management Systems
consider the table studen...
Question:
medium
Consider the table
Student
with attributes (rollNum, name, gender, marks).
The primary key is
rollNum
. The SQL query is:
SELECT * FROM Student WHERE gender = 'F' AND marks > 65;
The number of rows returned by this query is:
Show Hint
Always check the inequality carefully: marks>65} excludes rows where marks $=65$. Equality requires >=}.
GATE CS - 2023
GATE CS
Updated On:
Jan 31, 2026
Show Solution
Correct Answer:
2
Solution and Explanation
Download Solution in PDF
Was this answer helpful?
0
Top Questions on Database Management Systems
In SQL, which clause is used to filter the results of an aggregate function?
CUET (PG) - 2026
Data Science
Database Management Systems
View Solution
Define the term data independence. What are the different levels of data independence?
Kerala Plus Two(Class 12) - 2026
Computer Science
Database Management Systems
View Solution
Write the syntax and use of SQL DDL commands (CREATE, ALTER, DROP) and DML commands (INSERT, UPDATE, DELETE).
PSEB XII - 2026
Computer Applications
Database Management Systems
View Solution
Describe the use of built-in MySQL functions like COUNT(), SUM(), and MAX().
PSEB XII - 2026
Computer Applications
Database Management Systems
View Solution
Want to practice more? Try solving extra ecology questions today
View All Questions
Questions Asked in GATE CS exam
With respect to a TCP connection between a client and a server, which of the following is true?
GATE CS - 2026
Computer Networks
View Solution
Let a Non-deterministic Finite Automaton (NFA) have 6 states over a finite alphabet. Which of the following cannot be the number of states in a minimal Deterministic Finite Automaton (DFA) that is equivalent to this NFA?
GATE CS - 2026
Theory of Computations
View Solution
A certain processor uses a fully associative cache of size 16 kB. The cache block size is 16 bytes. Assume that the main memory is byte addressable and uses a 32-bit address. How many bits are required for the Tag and the Index fields respectively in the addresses generated by the processor?
GATE CS - 2026
Computer Organization and Architecture
View Solution
Consider $Z = X - Y$, where $X$, $Y$ and $Z$ are all in sign-magnitude form. $X$ and $Y$ are each represented in $n$ bits. To avoid overflow, the representation of $Z$ would require a minimum of:
GATE CS - 2026
Computer Organization and Architecture
View Solution
Which one of the following statements is NOT correct about the B$^+$ tree data structure used for creating an index of a relational database table?
GATE CS - 2026
Data Structures
View Solution