Мы ответим на Ваши вопросы
Каталог
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3222 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3221 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3220 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3219 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3216 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3212 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3209 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3208 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3207 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3206 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3221 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3220 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3219 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3216 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3212 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3209 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3208 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3207 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=3206 limit 1