Posted by: redlotus March 26, 2009
help on SQL
Login in to Rate this Post:     0       ?        


11. Write a query that produces the following for each employee:



<employee last name> earns <salary> monthly but wants <3
times salary>. Label the column Dream
Salaries
.




 



12. Display the last name, hire date, and day of the week on which the
employee started. Label the column DAY. Order the results by the day of the
week starting with Monday.




5.  Write a query to display the department name,
location name, number of employees, and the average salary for all employees in
that department.  Label the columns
dname, loc, Number of People, and Salary, respectively.  Round the average salary to two decimal
places.  Match on deptno between the EMP
and DEPT tables

Read Full Discussion Thread for this article