OK SELECT name, price, qty, sum, date_start FROM spec_current WHERE contract_id = ORDER BY name #serializeJSON(result)#