[server][DBClientZabbix] Use a new version of select() except for cases that do inner join.