<p class="sougouContent"> <br> <br> 我想查询 相同vUserCode里的最新时间, <br> 我自己写的sql 语句,select * from table group by vUserCode order by cDate desc </p> <br> <h2>回复讨论(解决方案)</h2> <p class="sougouAnswer"> select * from (select * from table order by cDate desc) t group by vUserCode </p> <p class="sougouAnswer"> select max(cDate) from table group by vUserCode </p>