|
-
Oct 27th, 2001, 02:44 AM
#1
Thread Starter
Addicted Member
need a sql query
hi all
i have 2 transaction table... code is a common field for both the tables, what i need is a sql query to compare and list out the codes which are not present at the both the tables, replies will be help ful
cheers
parthi
-
Oct 27th, 2001, 03:27 AM
#2
Fanatic Member
SQL CODE:
Code:
Select * from table1, table2 where not table1.code=table2.code
This will work only if there is atleast one row in both tables. Modify it as per your wish. You can also give table1.code or table2.code
THE TIME/WEATHER IS 
Don't know how to use APIs or have problem with them,
Download API-Guide & API-Viewer from http://www.allapi.net
-
Oct 27th, 2001, 05:51 AM
#3
PowerPoster
Not really sure if I follow your question, but try using the
INNERJOIN parameter in your SQL query.
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|