You can run and edit code on this page to explore the question and better understand the concepts
aggregate functions,
group by,
column alias
testing
NOTE: how to use date formats in SQL-lite
date('YYYY-MM-DD')
select * from bookings where lessonDate = date('2019-01-01')
A charity called Animal Help has a website that allows people to raise funds through sponsorship. Details entered are stored in a relational database. Fundraisers can see their total donations from all of their sponsors and Animal Help can view the funds being raised on their behalf. The database has the following tables.