MySQL query for selecting distinct rows with all possible values in a column

welcome to shbcf.ru