{"slug":"vz-vs-t-dividend","qid":"dps_growth","label":"dps_growth","post_title":"vz-vs-t-dividend","post_url":"/blog/vz-vs-t-dividend#q-dps_growth","columns":["year","vz_change_pct","t_change_pct"],"rows":[{"year":2016,"vz_change_pct":2.6,"t_change_pct":2.13},{"year":2017,"vz_change_pct":2.2,"t_change_pct":2.08},{"year":2018,"vz_change_pct":2.15,"t_change_pct":2.04},{"year":2019,"vz_change_pct":2.11,"t_change_pct":2},{"year":2020,"vz_change_pct":2.06,"t_change_pct":1.96},{"year":2021,"vz_change_pct":2.02,"t_change_pct":0},{"year":2022,"vz_change_pct":1.98,"t_change_pct":-34.98},{"year":2023,"vz_change_pct":1.94,"t_change_pct":-17.93},{"year":2024,"vz_change_pct":1.91,"t_change_pct":0},{"year":2025,"vz_change_pct":1.87,"t_change_pct":0}],"shape":"ranking","sql":"WITH\npaid AS\n(\n    SELECT\n        id,\n        any(ticker)                 AS tkr,\n        any(ex_dividend_date)       AS ex_date,\n        any(toFloat64(cash_amount)) AS amount\n    FROM global_markets.stocks_dividends\n    WHERE ticker IN ('VZ', 'T')\n      AND cash_amount > 0\n    GROUP BY id\n),\nyearly AS\n(\n    SELECT\n        toYear(ex_date)           AS year,\n        sumIf(amount, tkr = 'VZ') AS vz,\n        sumIf(amount, tkr = 'T')  AS t\n    FROM paid\n    WHERE toYear(ex_date) BETWEEN toYear(today()) - 11 AND toYear(today()) - 1\n    GROUP BY year\n    HAVING countIf(tkr = 'VZ') > 0 AND countIf(tkr = 'T') > 0\n),\nprior AS\n(\n    SELECT\n        year + 1 AS year,\n        vz       AS prev_vz,\n        t        AS prev_t\n    FROM yearly\n)\nSELECT\n    y.year                                 AS year,\n    round(100 * (y.vz / p.prev_vz - 1), 2) AS vz_change_pct,\n    round(100 * (y.t / p.prev_t - 1), 2)   AS t_change_pct\nFROM yearly AS y\nINNER JOIN prior AS p ON p.year = y.year\nORDER BY year","computed_at":"2026-09-24T14:56:39.687085+00:00","elapsed":0.728412683}