VB如何写SQL语句

2024-12-27 06:07:43
推荐回答(1个)
回答1:

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