Ask the data
Query the tables yourself, with or without AI
The eight tables from Downloads are loaded into a read-only SQLite database inside your browser. Write SQL against them directly, or bring your own API key and let a language model draft the query from a plain-English question. You always see the SQL before it runs.
Gambling Help Line 1800 858 858 or gamblinghelponline.org.au.
Read-only, three ways
Your key stays with you
Labelled and logged
Draft a query from a question
Optional. With your own key, Anthropic (claude-haiku-4-5) drafts the SQL; you see it, can edit it, and decide whether to run it.
Add a key in AI settings to use this. Without one, write SQL below: everything else works.
SQL
One SELECT (or WITH) query over the eight tables listed below. It runs in your browser on a read-only copy of the data; at most 500 rows come back.
Reference
Tables and columns
The same tables as the CSV downloads, with the same column names. The notes below are also given to the model.
statewide_monthly · 180 rowsNGR, gaming tax, venue share, machines and venues for every month reported.
monthTEXTfinancial_yearTEXTquarterTEXT'Q1', 'Q2', 'Q3', 'Q4'ngr_aud_millionREALgaming_tax_aud_millionREALvenue_share_aud_millionREALmachinesINTEGERvenuesINTEGERngr_aud_million_real_fy2024_25REAL
statewide_annual · 16 rowsAnnual sums of the flows, mean and June values of the stocks, NGR per machine and real-terms NGR.
financial_yearTEXTmonths_reportedINTEGERngr_aud_millionREALgaming_tax_aud_millionREALvenue_share_aud_millionREALtax_share_of_ngrREALmachines_mean_of_monthsREALmachines_juneINTEGERvenues_mean_of_monthsREALvenues_juneINTEGERngr_per_machine_audREALngr_aud_million_real_fy2024_25REAL
licences_monthly · 642 rowsLicences granted, entitlements held, live licences and live machines by licence category.
monthTEXTfinancial_yearTEXTcategoryTEXT'Casino', 'Clubs', 'Hotels', 'Special Circumstances'licences_grantedINTEGERentitlements_heldINTEGERlive_licencesINTEGERlive_machinesINTEGER
licences_annual · 55 rowsMean of months and end-of-year snapshot for every licence measure and category.
financial_yearTEXTcategoryTEXT'Casino', 'Clubs', 'Hotels', 'Special Circumstances'months_reportedINTEGERend_of_year_monthTEXTentitlements_held_meanREALentitlements_held_end_of_yearINTEGERlive_machines_meanREALlive_machines_end_of_yearINTEGERlicences_granted_meanREALlicences_granted_end_of_yearINTEGERlive_licences_meanREALlive_licences_end_of_yearINTEGER
manufacturers_monthly · 1,633 rowsMachines by manufacturer with the printed share and a share recomputed from the counts.
monthTEXTfinancial_yearTEXTmanufacturerTEXTmachinesINTEGERshare_printedREALshare_recomputedREALmonth_total_printedINTEGER
manufacturer_concentration · 189 rowsHerfindahl–Hirschman index per month, with names as published and with the Light & Wonder lineage combined.
monthTEXTfinancial_yearTEXTmanufacturers_listedINTEGERmachines_listedINTEGERhhiREALhhi_lineage_combinedREAL
lga_published_areas · 541 rowsOne row per area CBS published, with combined groups kept whole, ABS 2024 LGA codes and the workbook rows they came from.
financial_yearTEXTareaTEXTkindTEXT'group', 'single', 'split'member_councilsTEXTabs_lga_2024_codesTEXTngr_audREALngr_per_venue_audREALmachinesINTEGERvenuesINTEGERworkbook_rowsTEXT
lga_crosswalk · 94 rowsEvery council name in the workbook mapped to an ABS 2024 Local Government Area, with the reason.
workbook_nameTEXTcouncilTEXTabs_lga_2024_nameTEXTabs_lga_2024_codeTEXTrelationTEXT'fragment', 'part', 'renamed', 'same', 'spelling', 'suffix'has_own_boundaryINTEGERfinancial_yearsTEXTnoteTEXT
Notes that matter when you query
- financial_year is TEXT such as '2024-25' (1 July 2024 to 30 June 2025). month is TEXT 'YYYY-MM'.
- The statewide tables have no months for FY 2014-15 (no release archived); statewide_annual keeps a 2014-15 row with months_reported = 0 and NULL figures.
- *_aud_million columns are nominal $ million. *_real_fy2024_25 columns are in average FY 2024/25 dollars (ABS CPI, Adelaide). lga_published_areas.ngr_aud and ngr_per_venue_aud are in dollars.
- NGR (net gambling revenue: player losses), gaming tax and venue share are flows: add months to get a year. Machines, venues, licences and entitlements are point-in-time counts: summarise a year with AVG over its months or the June value, never SUM.
- Venues closed from late March to June 2020 (FY 2019-20): statewide machines are 0 for March to June 2020, and lga_published_areas.machines is NULL for FY 2019-20.
- lga_published_areas has one row per area CBS published. kind is 'single', 'split' or 'group'. A 'group' combines several councils (member_councils, separated by '; '); its figures belong to the whole group and must never be divided between members. NGR per machine for an area is ngr_aud / machines.
- licences tables: category is 'Hotels', 'Clubs', 'Special Circumstances' or 'Casino'. Licence statistics for July to September 2017 are missing.
- manufacturers_monthly.share_recomputed is a fraction between 0 and 1 computed from the machine counts; share_printed is the share CBS printed. Manufacturer reports for October to December 2023 are missing.
- hhi is the Herfindahl-Hirschman index on a 0 to 10,000 scale.