技术改变明天,创新塑造未来! i(at)huadev.com Follow Me: http://t.sina.com.cn/georgeworld
分组。含有group by 的语句,select 的字段除了group by中出现的,其余必须是聚合函数,类似max这些确定唯一一条的SELECT a_id,max(b_id) FROM a_b GROUP BY a_id;
Powered by: BlogJava Copyright © George-tech