读书人

用一条话语取出DB最大值的数据

发布时间: 2012-07-03 13:37:43 作者: rapoo

用一条语句取出DB最大值的数据

SQL文如下:

select * from testMax where score=(select MAX(score) from testMax)
?说白了就是用嵌套。

读书人网 >其他数据库

热点推荐