Two tables. Each SELECT query generates a table.
The first table is the 15 highest type of TEA_SOURCE (e.g., eButterfly 2017, eButterfly 2018, etc.) and the count of records for each. The highest type is blank (no source listed), so its number of records (about 90,000) is at the top of the table.
The second table divides all records into particular sources (eButterfly, iNat, BAMONA, etc. -- the categories are created by the user-defined variable AtlasSources).The table starts by reporting the number of records from each of these sources for observations in 2018. Then it does a similar reporting for observations in 2017, 2016, 2015, and a general category of any observations for 2014 or previous years.