{"slug":"aapl-dividend-for-thai-investors","qid":"thb_year","label":"thb_year","post_title":"aapl-dividend-for-thai-investors","post_url":"/blog/lang/th/aapl-dividend-for-thai-investors#q-thb_year","columns":["year_be","gross_thb_at_32","net_thb_at_32"],"rows":[{"year_be":2565,"gross_thb_at_32":736,"net_thb_at_32":626},{"year_be":2566,"gross_thb_at_32":3040,"net_thb_at_32":2584},{"year_be":2567,"gross_thb_at_32":3168,"net_thb_at_32":2693},{"year_be":2568,"gross_thb_at_32":3296,"net_thb_at_32":2802},{"year_be":2569,"gross_thb_at_32":2560,"net_thb_at_32":2176}],"shape":"ranking","sql":"SELECT\n    toYear(ex_date) + 543                                     AS year_be,\n    toUInt32(round(sum(toFloat64(amount)) * 100 * 32))        AS gross_thb_at_32,\n    toUInt32(round(sum(toFloat64(amount)) * 100 * 32 * 0.85)) AS net_thb_at_32\nFROM\n(\n    SELECT\n        id,\n        any(ex_dividend_date) AS ex_date,\n        max(cash_amount)      AS amount\n    FROM global_markets.stocks_dividends\n    WHERE ticker = 'AAPL'\n      AND ex_dividend_date >= today() - 1500\n      AND ex_dividend_date <= today()\n    GROUP BY id\n)\nGROUP BY year_be\nORDER BY year_be","computed_at":"2026-10-09T16:33:40.941622+00:00","elapsed":0.058938221}