The document contains 15 requests for information about employees from a company database. It asks for details like annual salary of employee Smith, names of clerks, salaries of salesmen, employees earning over 2000, employee hired after 1981, name and salary of employees earning over 12000, employee numbers of those in department 30, names and hire dates of employees hired before 1981, managers' details, name and salary if commission is 1400, employees where commission exceeds salary, employee numbers hired before 1987, analysts' details, and details of employees earning over 2000 rupees per month.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
650 views2 pages
Assignment of Where Clause
The document contains 15 requests for information about employees from a company database. It asks for details like annual salary of employee Smith, names of clerks, salaries of salesmen, employees earning over 2000, employee hired after 1981, name and salary of employees earning over 12000, employee numbers of those in department 30, names and hire dates of employees hired before 1981, managers' details, name and salary if commission is 1400, employees where commission exceeds salary, employee numbers hired before 1987, analysts' details, and details of employees earning over 2000 rupees per month.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2
1.
WAQTD THE ANNUAL SALARY OF THE EMPLOYEE WHOS
NAME IS SMITH. 2.WAQTD NAME OF THE EMPLOYEES WORKING AS CLERK. 3.WAQTD SALARY OF THE EMPLOYEES WHO ARE WORKING AS SALESMAN. 4.WAQTD DETAILS OF THE EMP WHO EARNS MORE THAN 2000. 5.WAQTD DETAILS OF THE EMP WHOS NAME IS JONES. 6.WAQTD DETAILS OF THE EMP WHO WAS HIRED AFTER 01-JAN-81. 7.WAQTD NAME AND SAL ALONG WITH HIS ANNUAL SALARY IF THE ANNUAL SALARY IS MORE THAN 12000. 8.WAQTD EMPNO OF THE EMPLOYEES WHO ARE WORKING IN DEPT 30. 9.WAQTD ENAME AND HIREDATE IF THEY ARE HIRED BEFORE 1981. 10.WAQTD DETAILS OF THE EMPLOYEES WORKING AS MANAGER. 11.WAQTD NAME AND SALARY GIVEN TO AN EMPLOYEE IF EMPLOYEE EARNS A COMMISSION OF RUPEES 1400. 12.WAQTD DETAILS OF EMPLOYEES HAVING COMMISSION MORE THAN SALARY. 13.WAQTD EMPNO OF EMPLOYEES HIRED BEFORE THE YEAR 87. 14.WAQTD DETAILS OF EMPLOYEES WORKING AS AN ANALYST 15.WAQTD DETAILS OF EMPS EARNING MORE THAN 2000 RUPEES PER MONTH.