STRASMORE/EXPLORE 2,170 QUERIES 22Y EQUITIES · 12Y OPTIONS

2,170 answered market questions

every one with its exact SQL, its result and the date it was computed · free, no signup

How Companies Execute Buybacks: Rule 10b-18
Diluted shares outstanding by calendar quarter, three long-running programmesseries · 2026-08-22 · 20×4Preview: a 16-point series, ending lower. Three-year change in diluted share count, ten household namesranking · 2026-08-22 · 10×4Preview: 10 ranked values, smallest first. Share of continuous-session volume, by half hour of the trading dayseries · 2026-08-22 · 13×3Preview: a 13-point series, ending higher. A day's repurchase ceiling under the 25% volume conditionranking · 2026-08-22 · 6×3Preview: 6 ranked values, largest first.
Diluted shares outstanding by calendar quarter, three long-running programmes

Diluted shares outstanding by calendar quarter, three long-running programmes

most recentas of series 20×4read in context →
Diluted shares outstanding by calendar quarter, three long-running programmes — 20 rows by 4 columns, computed from US exchange, SIP and OPRA data.
quarter_dateaapl_shares_bmsft_shares_bko_shares_b
2021-01-0116.937.64.33
2021-04-0116.787.614.34
2021-07-0116.867.574.34
2021-10-0116.527.564.34
2022-01-0116.47.534.36
2022-04-0116.267.544.35
2022-07-0116.337.484.35
2022-10-0115.967.474.35
2023-01-0115.857.464.34
2023-04-0115.787.474.34
2023-07-0115.817.464.34
2023-10-0115.587.474.34
2024-01-0115.467.474.32
2024-04-0115.357.474.32
2024-07-0115.417.474.32
2024-10-0115.157.474.32
2025-01-0115.067.464.31
2025-04-0114.957.464.32
2025-07-01157.474.31
2025-10-0114.817.464.31
the exact SQL behind every number
SELECT
    toString(toStartOfQuarter(period_end - 15))                                        AS quarter_date,
    round(toFloat64(maxIf(diluted_shares_outstanding, has(tickers, 'AAPL'))) / 1e9, 2) AS aapl_shares_b,
    round(toFloat64(maxIf(diluted_shares_outstanding, has(tickers, 'MSFT'))) / 1e9, 2) AS msft_shares_b,
    round(toFloat64(maxIf(diluted_shares_outstanding, has(tickers, 'KO')))   / 1e9, 2) AS ko_shares_b
FROM global_markets.stocks_income_statements
WHERE timeframe = 'quarterly'
  AND hasAny(tickers, ['AAPL', 'MSFT', 'KO'])
  AND period_end >= '2021-01-01'
  AND diluted_shares_outstanding > 0
GROUP BY quarter_date
HAVING aapl_shares_b > 0 AND msft_shares_b > 0 AND ko_shares_b > 0
ORDER BY quarter_date
$