請教SQL大蝦們一個比較不太難的問題:

來源: 2009-07-29 20:25:37 [博客] [舊帖] [給我悄悄話] 本文已被閱讀:

我要從數據庫裏取數據,有著麽一段code:
...
where
condition1 and
condition2 and
a.variable1 = 'ABC' and
condition4 and
condition5;
quit;

但是總說有錯,說在用where的時候,應該在‘,’ 和 ‘and' 之間有個 “)”之類的東西。可我的code裏根本沒有逗號 ’,'

請講講這是怎麽回事, 萬分感謝。