How to Create this Table using SQL Table

How to Create this Table using SQL Table

Thanks for hosting such an informative forum and helping community. I want to create following data table using SQL Table option, I am struggling to find the correct SQL codes for leads module.


Lead Source

Total Leads

Total Appt Set

Facebook
1000
15
Google 
500
7

Total Appt Set field could be used on a Appointment Set Date & Time Field , something like Count (Appointment Set Date Time Not Null)

Many Thanks.