Search results for sql+query

0 votes
1 answer
3
Write SQL command to find DepartmentID, EmployeeName from Employee table whose average salary is above 20000.
2 votes
1 answer
4
Write SQL query to show all employees hired on June 4,1984 (non-default format)emp(empno,ename,job,mgr,hiredate,sal,comm,deptno)
2 votes
1 answer
5
1 votes
1 answer
6
According to me it should be – “Retrieve the names of all students with a lower rank, than all students with age < 18 ”
1 votes
3 answers
7
Class(name, meets_at, room, fid)Faculty(fid, fname, deptid)Find the names of faculty members who teach in every room in which some class is taught
1 votes
1 answer
8
0 votes
0 answers
10
I got why query 2 is wrong. How do I approach to understand Query 1, is there a generic approach for solving questions like these which have no tables given?
0 votes
1 answer
15
i don't know the actual answer for the questionaccording to me answer should be A please confirm it
0 votes
1 answer
16
In this question:-https://gateoverflow.in/8225/gate2015-1-27I am not understanding how the query is returning 2 .I think DISTINCT must be there to give the correct answer...
0 votes
1 answer
18
0 votes
0 answers
19
0 votes
2 answers
20