我写了一个查询
(select meterID, timestamp from meter_data
where timestamp between 1369282639 AND 1369282699
AND deviceID = "1"
GROUP BY meterID)
UNION
(select meterID, timestamp from meter_data
where timestamp between 1369282739 AND 1369282799
AND deviceID = "1"
GROUP BY meterID);
我希望它有 2 组数据 - 我的表中有 4 个不同的meterID,所以它应该返回 8 条记录,但它只返回 4 条记录