To retrive data in two tables

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gsureshraja
    New Member
    • Apr 2007
    • 1

    To retrive data in two tables

    Hello ...
    I have one doubt in oracle.

    How to get all the data in two tables where each table has diff primary key.
    please send the qurey...

    thanks


    Gsr
  • rushdishams
    New Member
    • Mar 2007
    • 24

    #2
    well, you don't need to have same primary key for 2 tables to get all the data. you need at least one common field/ column to retrieve all data (of course that are relevant) and the field/ column must be in the same domain and data type.

    maybe i am mistaking on your post... it was not vivid that much...sorry if that does not help you...

    Comment

    • Sandya
      New Member
      • Apr 2007
      • 7

      #3
      Originally posted by gsureshraja
      Hello ...
      I have one doubt in oracle.

      How to get all the data in two tables where each table has diff primary key.
      please send the qurey...

      thanks


      Gsr

      u can find the common field in the two table and use join to fetch the data from two table

      Comment

      Working...