[Date Prev] [Date Next] [Thread Prev] [Thread Next] Date Index Thread Index Search archive:
Date:Mon May 4 23:56:55 1997 
Subject:A SQL question 
From:franco 
Volume-ID:970505.01 

Hi, 
        Anyone who can answer this question ?

EMP_TAB
           NO.     NAME        HIRE-DATE       TITLE 
        ----------------------------------------------
           A!      JOHN         11-DEC-95       X1
           A2      MARY         02-JAN-85       X2
           A3      SMITH        23-MAR-92       Y1
           A4      DAVID        01-SEP-89       X1
           A5      PETER        09-JAN-88       M2
           A6      JOHN         09-JAN-94       X2
           A7      TOM          07-JUL-96       M1
           A8      STEPHEN      07-JUN-97       M1


SAL_TAB

          CODE        TITLE          MONTHLY-SALARY
      
-----------------------------------------------                          
           X1         CLERK            4250
           X2         OPERATOR         5600
           M1         ENGINEER         7000
           M2         SIPERVISOR       9000
           Y1         MANAGER          12000
           Y2         DIRECTOR         23000


  State the name of person who's salary is the highest and the lowest 
by using SQL(oracle).


Regards.

(Please email to me if possible at franco@asiaonline.net)


franco
5.5.97.