Illegal mix of collations (utf8_hungarian_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=' --> class DDataMan, function data_list_customized, line: 195
SELECT DISTINCT(g.id) AS id, g.refszam AS refszam, g.gyarto AS gyarto, g.tipus AS tipus, g.gyartasiev AS gyartasiev FROM gepek g LEFT JOIN gepmeta gm ON g.refszam = gm.refszam WHERE (g.refszam REGEXP '^T[0-9]' OR g.refszam REGEXP '^R[0-9]') AND g.status = 'Y' AND g.kat = '96' ORDER BY g.gyarto ASC, g.tipus ASC