SQL query against user table.