标签: mysql sql select row
可能重复: mySQL Returning the top 5 of each category
什么SQL查询可以帮助我获取每个课程列的前两行:
ID Course Action 1 1 read 2 1 read 3 1 edit 4 2 edit 5 2 write 6 2 read 7 3 read 8 3 post
我想获得记录:1,2,4,5,7,8