With rt2 , getting "privileged" users, could be done a qeury like: select distinct id,name from Users where not privileged=0 order by name What is the equivalent rt3 query?