SELECT kid, sisu, count(distinct(kid)) AS arv FROM register WHERE register='autorid' AND (sisu_otsi LIKE 'Kahar Marika 1949 toimetaja%' ) GROUP BY sisu ORDER BY sisu_otsi;Table 'asko.register' doesn't exist