/home/preisdbo/www.preistipp.de/preistipp-v2/sql/pt_categories/i.2010_heap_products.sql
# CW | i.2010_heap_products
INSERT IGNORE INTO `usrdb_texmedcn_cw`.`tmp_po_products`
SELECT "929713",`p`.`id`
FROM `usrdb_texmedcn_cw`.`s_products` AS `p`
INNER JOIN `usrdb_texmedcn_cw`.`s_offers` AS `o`
ON `o`.`id_product` = `p`.`id`
INNER JOIN `usrdb_texmedcn_cw`.`s_partners` AS `h`
ON `h`.`id` = `o`.`id_partner`
WHERE `p`.`id_category` = "689347129"
Table 'usrdb_texmedcn_cw.s_offers' doesn't exist