Results 1 to 3 of 3

Thread: oracle osql question

  1. #1
    Join Date
    May 2005
    Posts
    111

    oracle osql question

    tsql:
    select lastname
    from tablex
    where city in [ select city from tableB]


    what is the syntax for that in Oracle land?

  2. #2
    Join Date
    Sep 2002
    Posts
    5,938
    That doesn't work on Oracle, works on DB2 I know.

  3. #3
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    This will work

    select lastname
    from tablex
    where city in (select city from tableB)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •