Error in query - 1030 - Got error 28 from storage engine
SQL:
select p.*,
tv1_0.value_de_data as lager_0,
tv1_0.data_lang_de as lager_0_lang,
tv2.value_de_data as 'name',
tv2.data_lang_de as name_lang,
tv3.value_de_data as 'comment',
tv3.data_lang_de as comment_lang
FROM bnd_reihe p
LEFT OUTER JOIN bnd_lager rt1 on rt1.id = p.lager_id
LEFT OUTER JOIN object_textvalues_col tv1_0 on tv1_0.text_id = rt1.name_txtid
LEFT OUTER JOIN object_textvalues_col tv2 on tv2.text_id = p.name_txtid
LEFT OUTER JOIN object_textvalues_col tv3 on tv3.text_id = p.comment_txtid
where p.lager_id = '2' ORDER BY tv2.value_de_data