0

Compare tables

I have two tables (Tab1 and Tab2) I want to know the new data records in Tab1, which is not available in Tab2 and the data records which are available in Tab2 but not I know Tab1.

I'm looking for a solution but not one with a loop, because I have large data and the loop takes a long time.

 

I think of something like (Selecht Tab1 where not exist in tab2),

(select Tab1 where not exisit (select tab2)) or

(select Tab1 left join Tab2 on ....... where Tab2.ID is null)

is it possible to query with Ninox Sql or join on tablets but not with a loop ???

 

Thanks for the answer

Maisam

1 reply

null
    • John_Halls
    • 2 yrs ago
    • Reported - view

    Hi Maisam

     

    Do the two tables have the same structure (the same fields)? Is there a field that can be used as a unique key?

     

    Thanks John

Content aside

  • 2 yrs agoLast active
  • 1Replies
  • 286Views