SQL语句如下:
SELECT column1, column2, column3 FROM table1 WHERE column1 = 'value'
UNION
SELECT column1, column2, column3 FROM table2 WHERE column1 = 'value';
SQL语句如下:
SELECT column1, column2, column3 FROM table1 WHERE column1 = 'value'
UNION
SELECT column1, column2, column3 FROM table2 WHERE column1 = 'value';