欢迎来到福编程网,本站提供各种互联网专业知识!

取随机记录的语句

发布时间:2007-03-28 作者: 来源:转载
mysql:select*fromtablenameorderbyrand()limit10sqlserver:selecttop10*fromtablenameorderbyNEWID()
mysql:select*fromtablenameorderbyrand()limit10
sqlserver:selecttop10*fromtablenameorderbyNEWID()

相关推荐