diff --git a/src/com/activeandroid/query/From.java b/src/com/activeandroid/query/From.java index 0f0da5ef4..ab3837a90 100644 --- a/src/com/activeandroid/query/From.java +++ b/src/com/activeandroid/query/From.java @@ -267,6 +267,10 @@ public String toExistsSql() { addFrom(sql); addJoins(sql); addWhere(sql); + addGroupBy(sql); + addHaving(sql); + addLimit(sql); + addOffset(sql); sql.append(")");