Ad impressions, clicks and site events in SQL: sessions, funnels, last-click attribution and audience search that matches typos. Tested SQL.