{"slug":"wmt-stock-split-history","qid":"split_history","label":"split_history","post_title":"wmt-stock-split-history","post_url":"/blog/wmt-stock-split-history#q-split_history","columns":["split_date","effective_on","split_terms","cumulative_shares"],"rows":[{"split_date":"2024-02-26","effective_on":"Feb 26, 2024","split_terms":"3-for-1","cumulative_shares":3}],"shape":"scalar","sql":"SELECT\n    toString(execution_date)                    AS split_date,\n    formatDateTime(execution_date, '%b %e, %Y') AS effective_on,\n    terms                                       AS split_terms,\n    toUInt64(round(exp(sum(log(ratio)) OVER (ORDER BY execution_date\n        ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)), 0)) AS cumulative_shares\nFROM\n(\n    SELECT\n        execution_date,\n        max(toFloat64(split_to) / toFloat64(split_from)) AS ratio,\n        concat(\n            toString(toUInt32(max(toFloat64(split_to)))),\n            '-for-',\n            toString(toUInt32(max(toFloat64(split_from))))\n        ) AS terms\n    FROM global_markets.stocks_splits\n    WHERE ticker = 'WMT'\n    GROUP BY execution_date\n)\nORDER BY split_date","computed_at":"2026-10-02T15:15:26.168325+00:00","elapsed":0.002714544}