Select catalog_prices.*, catalog_typescost.title as type_title, catalog_typescost.type as type_cost from catalog_prices, catalog_typescost where catalog_prices.idc="33ed5e7a-4ee4-11e8-936d-0cc47a52ebf7" and catalog_prices.idt=catalog_typescost.id order by type_cost descMySQL server has gone away Select * from catalog_files where idt="33ed5e7a-4ee4-11e8-936d-0cc47a52ebf7" MySQL server has gone away Select * from catalog_refs where idc="33ed5e7a-4ee4-11e8-936d-0cc47a52ebf7" MySQL server has gone away Select * from catalog_siteunits where id=0 limit 1MySQL server has gone away Select * from catalog_units where id="796" limit 1MySQL server has gone away Select * from catalog_units where id="796" limit 1MySQL server has gone away Select P.short, V.idv, P.title as pname, B.title as vname from catalog_values as V, catalog_properties as P, catalog_propbook as B where V.idc="33ed5e7a-4ee4-11e8-936d-0cc47a52ebf7" and V.idp=P.id and V.idv=B.idMySQL server has gone away