In Oracle, if we ask for the first few rows of the table, use the keyword rownum
Example: SELECT * from student where rownum<=10 results in removing the first 10 rows from the student table
In MySQL, use the keyword limit
Example: SELECT * FROM student limit 10 results in removing the first 10 rows of data
Or select * from student limit to represent two rows of data from the first row, i.e. the second row and the third row of data are taken out
In SQL Server, with the keyword top
Example: SELECT Top * from student results in the first 10 rows of data from the table
first post, hope to help you!! 650) this.width=650; "src=" http://bbs.51cto.com/images/smilies/default/songhua.gif "border=" 0 "style=" Text-align:center, "alt=" Songhua.gif "/>650" this.width=650; "src=" http://bbs.51cto.com/images/smilies/default/ Songhua.gif "border=" 0 "style=" text-align:center; "alt=" Songhua.gif "/>650" this.width=650; "src=" http:// Bbs.51cto.com/images/smilies/default/songhua.gif "border=" 0 "style=" text-align:center; alt= "Songhua.gif"/>
In Oracle,mysql,sqlserver, the syntax format for the number of rows required to fetch a table