sql constraint clarification, thanks Markus Petzsch