You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECT"BrowserCountry", COUNT(DISTINCT "SocialNetwork"), COUNT(DISTINCT "HitColor"), COUNT(DISTINCT "BrowserLanguage"), COUNT(DISTINCT "SocialAction") FROM hits GROUP BY1ORDER BY2DESCLIMIT10;
4
4
SELECT"SocialSourceNetworkID", "RegionID", COUNT(*), AVG("Age"), AVG("ParamPrice"), STDDEV("ParamPrice") as s, VAR("ParamPrice") FROM hits GROUP BY"SocialSourceNetworkID", "RegionID"HAVING s IS NOT NULLORDER BY s DESCLIMIT10;
5
5
SELECT"ClientIP", "WatchID", COUNT(*) c, MIN("ResponseStartTiming") tmin, MEDIAN("ResponseStartTiming") tmed, MAX("ResponseStartTiming") tmax FROM hits WHERE"JavaEnable"=0GROUP BY"ClientIP", "WatchID"HAVING c >1ORDER BY tmed DESCLIMIT10;
6
-
SELECT"ClientIP", "WatchID", COUNT(*) c, MIN("ResponseStartTiming") tmin, APPROX_PERCENTILE_CONT(0.95) WITHIN GROUP (ORDER BY"ResponseStartTiming") tp95, MAX("ResponseStartTiming") tmax FROM'hits'WHERE"JavaEnable"=0GROUP BY"ClientIP", "WatchID"HAVING c >1ORDER BY tp95 DESCLIMIT10;
6
+
SELECT"ClientIP", "WatchID", COUNT(*) c, MIN("ResponseStartTiming") tmin, APPROX_PERCENTILE_CONT("ResponseStartTiming", 0.95) tp95, MAX("ResponseStartTiming") tmax FROM'hits'WHERE"JavaEnable"=0GROUP BY"ClientIP", "WatchID"HAVING c >1ORDER BY tp95 DESCLIMIT10;
7
7
SELECTCOUNT(*) AS ShareCount FROM hits WHERE"IsMobile"=1AND"MobilePhoneModel"LIKE'iPhone%'AND"SocialAction"='share'AND"SocialSourceNetworkID"IN (5, 12) AND"ClientTimeZone" BETWEEN -5AND5AND regexp_match("Referer", '\/campaign\/(spring|summer)_promo') IS NOT NULLAND CASE WHEN split_part(split_part("URL", 'resolution=', 2), '&', 1) ~ '^\d+$' THEN split_part(split_part("URL", 'resolution=', 2), '&', 1)::INT ELSE 0 END >1920AND levenshtein(CAST("UTMSource"AS STRING), CAST("UTMCampaign"AS STRING)) <3;
8
8
SELECT"WatchID", MIN("ResolutionWidth") as wmin, MAX("ResolutionWidth") as wmax, SUM("IsRefresh") as srefresh FROM hits GROUP BY"WatchID"ORDER BY"WatchID"DESCLIMIT10;
9
9
SELECT"RegionID", "UserAgent", "OS", AVG(to_timestamp("ResponseEndTiming")-to_timestamp("ResponseStartTiming")) as avg_response_time, AVG(to_timestamp("ResponseEndTiming")-to_timestamp("ConnectTiming")) as avg_latency FROM hits GROUP BY"RegionID", "UserAgent", "OS"ORDER BY avg_latency DESClimit10;
0 commit comments