SELECT kid, sisu, count(distinct(kid)) AS arv FROM register WHERE register='person' AND (sisu_otsi LIKE 'Masing Uku 1909 1985%' ) GROUP BY sisu ORDER BY sisu_otsi;Table 'asko.register' doesn't exist