問題:
When using SQL, are there any benefits of using =
in a WHERE
clause instead of LIKE
?使用 SQL 時,在WHERE
子句中使用=
而不是LIKE
有什麼好處嗎?
Without any special operators, LIKE
and =
are the same, right?沒有任何特殊操作符, LIKE
和=
是一樣的,對吧?
解決方案:
參考一: https://stackoom.com/question/2HPQ參考二: Equals(=) vs. LIKE