SELECT PUNKTY_KATEGORIE.IDdzial FROM PUNKTY_KATEGORIE INNER JOIN `PEOP_PROFILE` ON (PUNKTY_KATEGORIE.IDdzial = `PEOP_PROFILE`.ID_DZIAL) WHERE (IDdzial > 0) AND (public_report = 1) AND (IDdzial < 99) AND (IDdzial <> 1) AND (`PEOP_PROFILE`.ID_PEOP = 807224) AND (CHAR_LENGTH(PEOP_PROFILE.TRESC) > 0) ORDER BY PUNKTY_KATEGORIE.kolejnosc_public_report LIMIT 1
Table './indexcopernicus/PEOP_PROFILE' is marked as crashed and last (automatic?) repair failed