users=db.get("SELECT name FROM users WHERE group='admin'")
is more efficient and understandable then: users=[];
tmp=db.get("SELECT name,group FROM users")
for (i=0;i<tmp.count();i++)
{
if (tmp[i]['group']=='admin') users[]=tmp[i][name];
}