Author

Author- Ram Ranjeet Kumar

Saturday, October 1, 2022

SQL INTERVIEW QUESTIONS ON OPERATORS

SQL INTERVIEW QUESTIONS ON OPERATORS 

Youtube

1) LIST ALL THE EMPLOYEES WHOSE COMMISSION IS NULL

2) LIST ALL THE EMPLOYEES WHO DON’T HAVE A REPORTING MANAGER

3) LIST ALL THE SALESMEN IN DEPT 30

4) LIST ALL THE SALESMEN IN DEPT NUMBER 30 AND HAVING SALARY GREATER

THAN 1500

5) LIST ALL THE EMPLOYEES WHOSE NAME STARTS WITH ‘S’ OR ‘A’

6) LIST ALL THE EMPLOYEES EXCEPT THOSE WHO ARE WORKING IN DEPT 10 & 20.

7) LIST THE EMPLOYEES WHOSE NAME DOES NOT START WITH ‘S’

8) LIST ALL THE EMPLOYEES WHO ARE HAVING REPORTING MANAGERS IN DEPT

10

9) LIST ALL THE EMPLOYEES WHOSE COMMISSION IS NULL AND WORKING AS

CLERK

10) LIST ALL THE EMPLOYEES WHO DON’T HAVE A REPORTING MANAGER IN

DEPTNO 10 OR 30

11) LIST ALL THE SALESMEN IN DEPT 30 WITH SAL MORE THAN 2450

12) LIST ALL THE ANALYST IN DEPT NUMBER 20 AND HAVING SALARY GREATER

THAN 2500

13) LIST ALL THE EMPLOYEES WHOSE NAME STARTS WITH ‘M’ OR ‘J’

14) LIST ALL THE EMPLOYEES WITH ANNUAL SALARY EXCEPT THOSE WHO ARE

WORKING IN DEPT 30

15) LIST THE EMPLOYEES WHOSE NAME DOES NOT END WITH ‘ES’ OR ‘R’

16) LIST ALL THE EMPLOYEES WHO ARE HAVING REPORTING MANAGERS IN DEPT

10 ALONG WITH 10% HIKE IN SALARY

17) DISPLAY ALL THE EMPLOYEE WHO ARE ‘SALESMAN’S HAVING ‘E’ AS THE

LAST BUT ONE CHARACTER IN ENAME BUT SALARY HAVING EXACTLY 4

CHARACTER

18) DISPLAY ALL THE EMPLOYEE WHO ARE JOINED AFTER YEAR 81

19) DISPLAY ALL THE EMPLOYEE WHO ARE JOINED IN FEB

20) LIST THE EMPLOYEES WHO ARE NOT WORKING AS MANAGERS AND CLERKS

IN DEPT 10 AND 20 WITH A SALARY IN THE RANGE OF 1000 TO 3000

21) LIST THE EMPLOYEES WHOSE SALARY NOT IN THE RANGE OF 1000 TO 2000

AND WORKING IN DEPT 10,20 OR 30 EXCEPT ALL SALESMEN

22) LIST THE DEPARTMENT NAMES WHICH ARE HAVING LETTER ‘O’ IN THEIR

23) DISPLAY ALL THE EMPLOYEES WHOSE JOB HAS STRING ‘MAN’ IN IT.

24)LIST THE EMPLOYEES WHO ARE HIRED AFTER 82 AND BEFORE 87.

25)WAQTD ALL THE DETAILS OF EMPLOYEES HIRED IN NOVEMBER AND

DECEMBER.

26)LIST ALL THE EMPLOYEE NAMES AND COMISSION FOR THOSE EMPLOYEES

WHO EARN COMISSION MORE THAN THEIR SALARY

27)WAQTD NAME AND DESIGNATION FOR ALL THE EMPLOYEES HAVING

REPORTING MANAGERS AND ALSO THRIE NAMES STARTING WITH ‘S’

28)WAQTD NAME AND SALARY OF ALL THE EMPLOYEES IF THEIR ANNUAL

SALARY ENDS WITH ‘0’ .

29)WAQTD NAME OF THE EMPLOYEE HAVING ATLEAST 2L’s IN HIS NAME .

30)WAQTD NAME OF THE EMPLOYEES WHOS NAME STARTS WITH A ‘VOWEL’

No comments:

Post a Comment