select * from employee where seq_id=CONCAT("'",'AJ10002',"'")与select * from employee where seq_id='AJ10002'区别是什么,前一句执行无查询结果,而后一句执行有结果;为什么会出现这个问题,怎么才能让第一条也能执行呢
...全文
1374打赏收藏
两条查询语句的差别在哪里?
select * from employee where seq_id=CONCAT("'",'AJ10002',"'")与select * from employee where seq_id='AJ10002'区别是什么,前一句执行无查询结果,而后一句执行有结果;为什么会出现这个问题,怎么才能让第一条也能执行呢