select ....from.... where=

问题补充说明:等于后面的代码到底怎么写 , 为什么有时是select ....from.... where=‘...............'有时有时select ....from.... where=‘“.........................."'vb还经常提示 标准表达式中的数据类型不匹配那么select*from ..................where .....................='"&......&"‘是用在哪里的呢
【select ....from.... where=】

select ....from.... where=

文章插图
主要体现的是''的关系 , 有的是字符串形的 , 需要生成的SQL语句中含有''标识 , 而有的只是数字及其他类型 , ‘’的作用是起到字符串连接的作用!
如:
select*fromstudentwhere来自name='a'
select*fromstu么植迫试dentwhereage=21

    推荐阅读