Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
SQL Fundamentals - Practice 06

SQL Fundamentals - Practice 06

Ratings: (0)|Views: 503 |Likes:
Published by Abby AR

More info:

Published by: Abby AR on Mar 21, 2010
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less





Oracle Database 10
: SQL Fundamentals I 6 -21
Practice 6
1.The HR department needs a query that prompts the user for an employee last name. Thequery then displays the last name and hire date of any employee in the same department asthe employee whose name they supply (excluding that employee). For example, if the user enters
, find all employees who work with Zlotkey (excluding Zlotkey).2.Create a report that displays the employee number, last name, and salary of all employeeswho earn more than the average salary. Sort the results in orderof ascending salary.3. Write a query that displays the employee number and last name ofall employees who work in a department with any employee whose last name contains a
. Place your SQLstatement in a text file named
. Run your query.

Activity (9)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
ketanva liked this
Jojo Cansino liked this
Jojo Cansino liked this
nipsen liked this
tchekevara liked this
bhkrmv liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->