Recent questions tagged sql

4 votes
0 answers
241
3 votes
0 answers
242
Why this Query is illigal? i.e. Answer given is option CI tried this on W3school IDE it is giving result as option A.
2 votes
2 answers
243
1 votes
0 answers
245
Why Q1 not correct? Because it is fetching any red part and not every red part,right??Why Q2 is not correct query? It takes 2 tables and comparing. Is it not fetching si...
1 votes
1 answer
246
My answer is not matching with any of the option.so what is the correct answer
1 votes
0 answers
247
A relation schema for a bus reservation is given below.Bus(BusNo, Bname, travel-agent)Passenger (Pid,pname,age)Reservation (Pid,class,travel-Agent)
3 votes
0 answers
249
Is the query below safe? {t | ∃u ∈ EMP(t[EmpName] = u[EmpName] ∧ ∀v ∈ DEPT(t[DeptId] == v[DeptId]))}Please explain why.
1 votes
2 answers
250
what will be the output(how many tupples)
3 votes
0 answers
251
1 votes
0 answers
253
Provide the answer
1 votes
1 answer
254
Provide the correct answer
0 votes
0 answers
255
my answer is :: selection with cross Please explain the current answer
1 votes
1 answer
257
1 votes
1 answer
259
Found randomly somewhere:i think multiple answers possible?
0 votes
0 answers
262
How to solve SQL problems related to subqueries quickly?Though I have concepts still I face some difficulties in solving this problems
5 votes
1 answer
264
Consider the schema$\text{Sailors(sid,sname,rating,age) with the following data}$$\begin{array}{|l|l|l|l|} \hline \textbf{sid} & \textbf{sname} & \textbf{rating} & \textb...
0 votes
0 answers
266
Student tableROLLNONAMEMARKS1MARKS21T50302S70993DNULL10NULLNULL78NULLNULLNULLNULLNULLa) select count(MARKS1) from student;b) select count(*) from student;
1 votes
0 answers
269
0 votes
0 answers
270