sql="select * from (表格名字) where id='" & text1.text & "' and name='" & text2.text & "' and age="' & text3.text & "' order by id asc"order by id asc 这句意思是按id升序排列,可写可不写。