50 views
0 votes
0 votes
NTA PhD Entrance Examination CS  2023| Part 2  Question-35

Question No. 35 / Question ID 974088
Marks: 4.00

Consider the following table, named as 'a', and answer the given query.
\begin{tabular}{|c|c|}
\hline Name & ID \\
\hline Amit & 1 \\
\hline Shweta & 2 \\
\hline Lavanya & 3 \\
\hline Rohit & 4 \\
\hline Isha & 5 \\
\hline
\end{tabular}

How many rows will be returned by the following query?
SELECT *
FROM a p, a q, a r
WHERE p.id $<$ q.id<br /> AND q.id > r.id;
1. 15
2. 30
3. 45
4. 50

Please log in or register to answer this question.

Related questions

0 votes
0 votes
0 answers
1
admin asked Nov 30, 2023
87 views
Let $\mathrm{V}$ and $\mathrm{W}$ be vector spaces, and let $\mathrm{T}: \mathrm{V} \rightarrow \mathrm{W}$ be linear. If $\mathrm{V}$ is finite dimensional, then which o...
0 votes
0 votes
1 answer
2
admin asked Dec 2, 2023
153 views
Question No. 1 / Question ID 974051Marks: 4.00The number of divisors of 2100 is1. 422. 363. 784. 721 (Chosen Option)234
0 votes
0 votes
1 answer
4
admin asked Dec 2, 2023
140 views
Question No. 3 / Question ID 974076Marks: 4.00void main()\{int $\mathrm{i}$;for $(i=0 ; i