Do you want to know where the match is found, or merely that the match is found?
Code:
SELECT COUNT(*), source
FROM (SELECT ID, 'table1' source
FROM table1
WHERE ID = 1
UNION ALL
SELECT ID, 'table2' source
FROM table2
WHERE ID = 1
UNION ALL
SELECT ID, 'table3' source
FROM table3
WHERE ID = 1)
GROUP BY source
will give you a count of matches by table.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC