<%
set stu=server.createobject("adodb.recordset")
stu_sql="select stu_id from stu"
stu.open stu_sql,conn,1,3
for i=1 to stu.recordcount
if (stu("stu_id")<>stu_id) then stu.movenext end if
if (stu("stu_id")=stu_id) then
stu.movenext
stu_id=stu("stu_id")
end if
stu.movenext
next
%>