我想找出具有短代碼的頁面ID。這是我想在MySQL phpmyadmin
在phpmyadmin中顯示錯誤的Mysql查詢
SELECT ID FROM wp_posts WHERE post_type = "page" AND post_status="publish" AND post_content LIKE "%[registration id="17"]%"
運行查詢,但它顯示以下錯誤
#1064 - 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 '17"]%"
LIMIT 0,25' 列提前1個
感謝。
'ID ='17''而不是'ID = 「17」' – asprin