我有一個包含一些數據的表。其中許多數據的名稱爲ICA Supermarket,每個數據的總和都不相同。如果我使用下面的SQL查詢,它也將顯示與100下和數據這也同樣適用,如果我改變>= '100'到一個更高的數字,對於例如200 SELECT *
FROM transactions
WHERE data_name LIKE '%ica%'
AND REPLACE(data_sum, '-',
使用InnoDb與foreignkey在數據庫中設置。在Phalcon也設置虛擬鍵。在刪除記錄時得到低於錯誤從phalcon由於Foreign Key設置和還有子表中的數據。 My Objective is to display fancy error message to user when this error displayed. 顯示錯誤: SQLSTATE[23000]: Integri