mysql pref_name IN select added