SELECT field19, field20, field7, field12 etc.... FROM userfield as userfield LEFT JOIN user AS user ON (user.userid = userfield.userid) WHERE user.usergroupid = 15