SELECT username,
password,
FROM table1
WHERE username = :username
UNION ALL
SELECT username,
password,
FROM table2
WHERE username = :username
I want to find from which table the data as been retrieved whether from table1 or table2 And ya the inserted data in these tables are unique
Thanks in advance