{"ok": true, "database": "cftracker", "query_name": "organization_money", "rows": [], "truncated": false, "columns": ["organization", "candidate", "committee", "office_sought", "org_paid_by_state", "given_by", "contributions", "total", "first_gift", "last_gift"], "query": {"sql": "select pc.principal as organization, 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       (select round(sum(vs.paid), 2) from vendor_summary vs where vs.principal = pc.principal) as org_paid_by_state,\n       pc.link_type as given_by, count(*) as contributions, sum(sc.amount) as total,\n       min(sc.date) as first_gift, max(sc.date) as last_gift\nfrom principal_contributions pc\njoin state_contributions sc on sc.receipt_id = pc.receipt_id\nwhere :organization <> '' and pc.principal like '%' || :organization || '%'\ngroup by pc.principal, sc.org_id, pc.link_type\norder by total desc\nlimit 500", "params": {"organization": ""}}, "error": null, "private": false, "allow_execute_sql": false, "query_ms": 0.8462980040349066, "source": "FEC, Nebraska Accountability and Disclosure Commission, Clerk of the Legislature, Open States", "source_url": "https://www.fec.gov/data/", "license": "Public records"}