´ó¼Ò°ïæ¿´ÏÂÏÂÃæµÄsqlÎÄÄÄÀï´íÁË£¬ÎÒÔÚSQL ExplorerÖÐÖ´Ðб¨´í¡£Ð»Ð» 1.select * from tb group by sl 2.select * from tb,(select max(id)'id' from tb group by sl)tb2 where tb.id = tb2.idSQL code: 1¡¢select sl from tb group by sl select ºóÃæµÄÁÐÐèÒª°üº¬ÔھۺϺ¯Êý»ò GROUP BY ×Ó¾äÖÐ
¹ØÓÚSQL Server Mobile Edition ÓÃMicrosoft SQL Server2005 Management Studio Express9.00.3042.00´´½¨SQLCEÊý¾Ý¿âsqlmobile.sdf ÔÚmobileϵͳÖÕ¶ËÉÏÓÃSQL Server Mobile Edition3.0Äܲ鿴sqlmobile.sdfÀï±íÊý¾Ý ......
¹ØÓÚSQL Server Mobile Edition ÓÃMicrosoft SQL Server2005 Management Studio Express9.00.3042.00´´½¨SQLCEÊý¾Ý¿âsqlmobile.sdf ÔÚmobileϵͳÖÕ¶ËÉÏÓÃSQL Server Mobile Edition3.0Äܲ鿴sqlmobile.sdfÀï±íÊý¾Ý ......