SELECT kat FROM inhalt WHERE nr=000 AND was="w" GROUP BY kat

SELECT * FROM inhalt WHERE (was="w" ) ORDER by datum DESC