H
hfutzhu
Unregistered / Unconfirmed
GUEST, unregistred user!
数据库里的一些字段如下:<br> Voltage_A Voltage_B Voltage_C Current_A Current_B Current_C ReTime<br><br> 从前6个子段中统计出最大值和最小值,再把出现最大值和最小值得时间(ReTime)也取出来,用select max(Voltage_A) as max1,.....min(Voltage_A) as min1.......先取出最大值和最小值,然后再用select ReTime from db where Voltage_A = ...这样取得话感觉好麻烦,哪位兄弟有好点的思路哦???先谢谢了!