How we got top ten employee salary

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anis2007
    New Member
    • Oct 2006
    • 21

    How we got top ten employee salary

    Good morning to all of you,
    Plz tell , how i write the query that i got top ten employee salary.

    Thankyou



    Regards
    anu2007
  • sashi
    Recognized Expert Top Contributor
    • Jun 2006
    • 1749

    #2
    Hi there,

    Kindly refer to below SQL statement, hope it helps. Good lukc & take care.

    Code:
      SELECT TOP 10 fld1, fld2, fld3 FROM tblName

    Comment

    • ronverdonk
      Recognized Expert Specialist
      • Jul 2006
      • 4259

      #3
      Or use
      Code:
      SELECT salary FROM table_name ORDER BY salary DESC LIMIT 10
      Ronald :cool:

      Comment

      Working...