SELECT t.lead_source AS Lead_Source, COUNT(*) AS Total_Count FROM Opportunities AS t WHERE (t.assigned_user_id IS NOT NULL) GROUP BY t.lead_source ORDER BY Lead_Source
Skyvia Query allows you to run SQL queries against databases and cloud applications from web browser. Access and manage your data from anywhere, build reports, arrange your data in the most informative way and simplify your decision-making process easily!