
下面這是拋出的例外(You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'c,t_goods g,t_img iwhere c.goodsid = g.goodsid AND g.goodsid = i.goodsid AND i.l' at line 1)
sql陳述句在資料庫里運行沒問題,能查到資訊。
怎么辦啊。
uj5u.com熱心網友回復:
是其他什么地方有問題嗎,事務嗎?uj5u.com熱心網友回復:
iwhere 是不是沒有空格的事情 i 和 whereuj5u.com熱心網友回復:
所有字串后面加空格轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/66253.html
標籤:Java相關
上一篇:Servlet.service() for servlet [springmvc] in context with path [] threw exceptio
下一篇:通過javaweb對資料庫內容進行查詢,如果有多個查詢結果應當如何區分,以達到點擊不同結果可以更進一步顯示各自資訊?
