I\'m sorry I can\'t be more specific, but I don\'t know how to describe my problem in the title.. respectively I don\'t know how to search for similar question.
So h
Right now I can only think of a subselect version:
SELECT type, amount FROM table AS t WHERE dat = ( SELECT MAX(dat) FROM table WHERE type=t.type AND dat <= '2011-03-01' )