mysql奇怪現象
一直都用mysql數據庫
今天發現一個奇怪的顯現:以前在查詢數據庫的時候都這樣寫:
select password from studenttable where username = caobaoshusheng
沒出現過什么問題.今天這樣用就出問題了.提示找不到列.找了很久才改過來:
select password from studenttable where username = 'caobaoshusheng'
怎么回事以前行現在又不行了 。我想請問一下各位,標準的寫法是哪種!