further rethinkdb SQ