{"ok": true, "database": "cftracker", "query_name": "org_recipients", "rows": [], "truncated": false, "columns": ["candidate", "committee", "office_sought", "given_by", "contributions", "total", "first_gift", "last_gift"], "query": {"sql": "with r as (\n  select receipt_id, link_type from principal_contributions where principal = :name\n  union\n  select vc.receipt_id, vc.link_type from vendor_contributions vc\n  where vc.vendor_key in (select vendor_key from vendor_summary where principal = :name or vendor = :name)\n)\nselect sc.candidate_name as candidate, sc.filer_name as committee,\n       (select co.office || case when co.district <> '' then ' ' || co.district else '' end || ', ' || coalesce(co.place, co.jurisdiction)\n          from candidate_offices co where co.org_id = sc.org_id limit 1) as office_sought,\n       group_concat(distinct r.link_type) as given_by, count(*) as contributions, round(sum(sc.amount), 2) as total,\n       min(sc.date) as first_gift, max(sc.date) as last_gift\nfrom r join state_contributions sc on sc.receipt_id = r.receipt_id\ngroup by sc.org_id\norder by total desc\nlimit 300", "params": {"name": ""}}, "error": null, "private": false, "allow_execute_sql": false, "query_ms": 20.05406899843365, "source": "FEC, Nebraska Accountability and Disclosure Commission, Clerk of the Legislature, Open States", "source_url": "https://www.fec.gov/data/", "license": "Public records"}