- Error type:
MySQL Error
- Source, line:
Parser::tws_shop_search[818]
- Error message:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 3
SELECT DISTINCT store.id FROM ms_store store
LEFT JOIN ms_currency curr ON store.price_curr_id = curr.id
LEFT JOIN ms_topic_store topic_store ON topic_store.store_id = store.id WHERE store.no_visible=0 AND store.kind_key IN('kDefault', 'kCertificate') AND topic_store.topic_id > 0 AND store.brand_id IN ()