Столы и стулья
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=20102 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=20103 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=677 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=678 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=879 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=20103 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=677 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=678 limit 1
select st1+st2+st3+st4+st5 as count, st5 as sklad 0 as stor from catalog_params where idt=879 limit 1