{"slug":"aapl-dividend-history","qid":"splits","label":"Every AAPL stock split and the running share count","post_title":"AAPL Dividend History: Splits and Raises","post_url":"/blog/aapl-dividend-history#q-splits","columns":["execution_date","split_ratio","shares_after_split","cumulative_share_count","effective_on"],"rows":[{"execution_date":"2005-02-28","split_ratio":"2-for-1","shares_after_split":2,"cumulative_share_count":2,"effective_on":"Feb 28, 2005"},{"execution_date":"2014-06-09","split_ratio":"7-for-1","shares_after_split":7,"cumulative_share_count":14,"effective_on":"Jun 9, 2014"},{"execution_date":"2020-08-31","split_ratio":"4-for-1","shares_after_split":4,"cumulative_share_count":56,"effective_on":"Aug 31, 2020"}],"shape":"series","sql":"WITH events AS\n(\n    SELECT\n        id,\n        any(execution_date)                              AS split_date,\n        any(toFloat64(split_to) / toFloat64(split_from)) AS ratio,\n        concat(toString(toUInt32(any(split_to))), '-for-', toString(toUInt32(any(split_from)))) AS split_ratio\n    FROM global_markets.stocks_splits\n    WHERE ticker = 'AAPL'\n    GROUP BY id\n)\nSELECT\n    toString(split_date)                    AS execution_date,\n    split_ratio,\n    round(ratio, 0)                         AS shares_after_split,\n    round(exp(sum(log(ratio)) OVER (ORDER BY split_date ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)), 0) AS cumulative_share_count,\n    formatDateTime(split_date, '%b %e, %Y') AS effective_on\nFROM events\nORDER BY split_date","computed_at":"2026-08-22T04:00:47.364004+00:00","elapsed":0.065910509}