rt~
太久没用sql了,啥都忘了。。
------解决方案--------------------
- SQL code
select * from test awhere a.id in (select top 5 id from test b where a.组号=b.组号)--try,没测试数据,只能写个大概
------解决方案--------------------
select * from test awhere a.id in (select top 5 id from test b where a.组号=b.组号)--try,没测试数据,只能写个大概
------解决方案--------------------