SELECT p.id, p.name_lat as name, p.present_lat as present, p.price, p.price2, p.on_stock, p.amount_onplace, p.amount_onwarehouse, p.manufacturer_link, p.added_time, GROUP_CONCAT(i.id ORDER BY i.ord ASC) as image_names FROM products p LEFT JOIN categories c ON (p._categ = c.id) LEFT JOIN suppliers as s ON s.id=p.supplier_id LEFT JOIN xmllink_images_2 as i ON i.XML_ID = p.XML_ID WHERE (p._categ=2816)AND (((p.amount_onplace>0) OR (p.amount_onwarehouse>0)) AND disable<>1 )AND s.disabled=0 GROUP BY p.id ORDER BY p.price
Kategorijas
Produkta numurs: 20556020
Rullītis Bort BR-228 98298529
2,88 EUR 2.50 EUR
Produkta numurs: 20554982
Elektriskais smidzinātājs Bort BFP-110N 93727765
37,95 EUR 33.00 EUR
Produkta numurs: 20557121
Elektriskais smidzinātājs Bort BFP-450N 98298536
43,70 EUR 38.00 EUR