add sample postgresql query