[TASK] Provide QueryHelper to prepare SQL fragments for the QueryBuilder