dbTalk Databases Forums  

[sql-general] SQL query needed urgent Please help

mailing.database.sql-general mailing.database.sql-general


Discuss [sql-general] SQL query needed urgent Please help in the mailing.database.sql-general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
subi_04
 
Posts: n/a

Default [sql-general] SQL query needed urgent Please help - 01-18-2006 , 01:22 AM






Hi Friends,

Please help me out with a optimized query for the following
as soon as possible with in today.Thanks in advance.

Employee Table

Eno 4 digits
Ename 20 digits

Salary Table

Eno 4 digits
Salary 8 digits

Query:

1. List the Name, Salary of the top 5 salaried person of the
company, in the Ascending order of the Salary.
2. Make the average of all odd no. of the salaries, and even no. of
the salaries and observe the difference. (in the sorted list of
salaries)







Subscribe: sql-general-subscribe (AT) yahoogroups (DOT) com
Unsubscribe: sql-general-unsubscribe (AT) yahoogroups (DOT) com
List owner: sql-general-owner (AT) yahoogroups (DOT) com
URL: http://groups.yahoo.com/group/sql-general
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/sql-general/

<*> To unsubscribe from this group, send an email to:
sql-general-unsubscribe (AT) yahoogroups (DOT) com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.