Мы ответим на Ваши вопросы
Техника для кухни
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=1322 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=21812 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=13862 limit 1
select * from catalog_value where cid=13862 and pid=571 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=13566 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=21813 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=1320 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=13568 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=22557 limit 1
select * from catalog_value where cid=22557 and pid=203 limit 1
select * from catalog_value where cid=22557 and pid=204 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=22529 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=15195 limit 1
select * from catalog_photo where idt=15195 order by tomain desc, id asc limit 1
select * from catalog_value where cid=15195 and pid=539 limit 1
select * from catalog_value where cid=15195 and pid=540 limit 1
select * from catalog_value where cid=15195 and pid=541 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=21812 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=13862 limit 1
select * from catalog_value where cid=13862 and pid=571 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=13566 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=21813 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=1320 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=13568 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=22557 limit 1
select * from catalog_value where cid=22557 and pid=203 limit 1
select * from catalog_value where cid=22557 and pid=204 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=22529 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=15195 limit 1
select * from catalog_photo where idt=15195 order by tomain desc, id asc limit 1
select * from catalog_value where cid=15195 and pid=539 limit 1
select * from catalog_value where cid=15195 and pid=540 limit 1
select * from catalog_value where cid=15195 and pid=541 limit 1