I have 2 tables. Table1 has fields A, B, C, D and Table2 has fields A, B. Field A and B of both tables have same record type. I would like to grab the records from both tables of fields A and B as single result.
Is there any Query or Function in PHP+MySql?
Thanks…
I assume MySql does this:
select a,b from table1 where your_criteria=test_value union select a,b from table2 where your_criteria=test_value