/ Published in: SQL
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(SELECT a FROM t1 WHERE a=10 AND B=1) UNION (SELECT a FROM t2 WHERE a=11 AND B=2) ORDER BY a LIMIT 10;