步骤3:创建count_rows过程,返回在临时表中找到的行数。
Step3: Create the procedure count_rows which returns the number of rows found in the temporary table.
它返回下面这样的结果集,其中的行数与表中的行数一样多。
It returns the following result set which has as many rows as there are rows in the table.
也就是说,一个Read函数能够返回一个表对象的指针,而不返回一行数据。
That is, a Read function could return a pointer to a table object instead of returning a row of data.
应用推荐