Normal 0 false false false /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} 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. Normal 0 false false false /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} 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. Normal 0 false false false /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Times New Roman"; mso-ansi-language:#0400; mso-fareast-language:#0400; mso-bidi-language:#0400;} 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
redlotus · Mar 26, 2009 4:16 AM · 7,802 views
redlotus, while you are at it, why don't I also help you with your laundry, cooking, washing and taking your girlfriend on a date. Imbecile you are of Biblical proportion. Disgusting lazy sheep, tame you, I will.
Jesus Christ · Mar 26, 2009 4:27 AM
JG if you donot want to answer thats fine. I have suggestion for u, mr active. donot waste your time reading my post.
redlotus · Mar 26, 2009 4:33 AM
did u try www.w3schools.com. It should be helpful
dipulata · Mar 26, 2009 4:40 AM
Where r the tables?
techGuy · Mar 26, 2009 9:41 AM
Ya I was wondering too where is the table structure? bhaai ke chha? long time no talk........
kHusHii · Mar 26, 2009 9:43 AM
dijju kata gayap hajur?
techGuy · Mar 26, 2009 9:47 AM
redlotus: Can you publish which school you go to along with your lecture's contact details?
newlynew · Mar 26, 2009 9:53 AM
Where are the Tables and column names there in? YEAH!
mR. hydE · Mar 26, 2009 9:58 AM
This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.
Start a New Discussion