SELECT tr.*,bp.nadb,bp.tip as tp, tn.val as kg, ts.val as km FROM tiporazmer tr LEFT JOIN brendprice bp ON bp.intmin < tr.price2 AND bp.intmax >= tr.price2 AND bp.sezon = 'zima' LEFT JOIN tiponagr as tn ON tn.key = LEFT(tr.nagr_ind, INSTR(CONCAT(tr.nagr_ind,'/'), '/')-1) LEFT JOIN tiposkor as ts ON ts.key like LEFT(tr.skor_ind, 1) WHERE tr.model_id=324324 AND tr.price > 0 ORDER BY tr.price ASC LIMIT 1
MySQL Error: Server shutdown in progress
This script cannot continue, terminating.