select * from (select 'id' as feld, count(*) from user_data where id is not null union select 'uni_year' as feld, count(*) from user_data where uni_year is not null union select 'home_zip' as feld, count(*) from user_data where home_zip is not null union select 'home_town' as feld, count(*) from user_data where home_town is not null union select 'home_country' as feld, count(*) from user_data where home_country is not null union select 'relationship' as feld, count(*) from user_data where relationship is not null union select 'political' as feld, count(*) from user_data where political is not null union select 'major' as feld, count(*) from user_data where major is not null union select 'ext_friends' as feld, count(*) from user_data where ext_friends is not null union select 'uni_friends' as feld, count(*) from user_data where uni_friends is not null union select 'icq' as feld, count(*) from user_data where icq is not null union select 'skype' as feld, count(*) from user_data where skype is not null union select 'aim' as feld, count(*) from user_data where aim is not null union select 'jabber' as feld, count(*) from user_data where jabber is not null union select 'tel' as feld, count(*) from user_data where tel is not null union select 'street' as feld, count(*) from user_data where street is not null union select 'homepage' as feld, count(*) from user_data where homepage is not null union select 'school' as feld, count(*) from user_data where school is not null union select 'jobtype' as feld, count(*) from user_data where jobtype is not null union select 'residence' as feld, count(*) from user_data where residence is not null union select 'room' as feld, count(*) from user_data where room is not null union select 'status' as feld, count(*) from user_data where status is not null union select 'interests' as feld, count(*) from user_data where interests is not null union select 'music' as feld, count(*) from user_data where music is not null union select 'books' as feld, count(*) from user_data where books is not null union select 'movies' as feld, count(*) from user_data where movies is not null union select 'quote' as feld, count(*) from user_data where quote is not null union select 'about' as feld, count(*) from user_data where about is not null union select 'company' as feld, count(*) from user_data where company is not null union select 'doing_what' as feld, count(*) from user_data where doing_what is not null union select 'career' as feld, count(*) from user_data where career is not null union select 'clubs' as feld, count(*) from user_data where clubs is not null union select 'birthdate' as feld, count(*) from user_data where birthdate is not null union select 'register_date' as feld, count(*) from user_data where register_date is not null union select 'last_update' as feld, count(*) from user_data where last_update is not null union select 'sex' as feld, count(*) from user_data where sex is not null) as t where count!=0 order by count;