我有几个表,命名如下:
table_2012_12
table_2012_10
table_2012_07
两者具有相同的结构:
id
order_id
account_id
我知道我必须执行这些查询:
SELECT * FROM table_2012_12 where id=1
SELECT * FROM table_2012_12 where id=5
SELECT * FROM table_2012_10 where id=1
SELECT * FROM table_2012_07 where id=22
使用单个查询的最佳(性能)方法是什么?