SELECT kat FROM inhalt WHERE nr=000 AND was="e" GROUP BY kat
1867
1882
1901
1902
1903
1930
1936
1939
1940
1944
1951
1962
1978
1979
1982
1983
1984
1985
1986
1988
1989
1990
1991
1993
1995
1998
1999
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2014
2015
2016
2017
SELECT * FROM inhalt WHERE (was="e" and datum like "%2006%" ) ORDER by datum DESC