Skip to content

Commit 8f3c98f

Browse files
authored
Merge pull request #301 from tinybirdco/iterate_api_endpoint_100
restart
2 parents c798d33 + c5ad877 commit 8f3c98f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

iterating_api_endpoint/pipes/top_browsers.pipe

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ SQL >
1515
%
1616
select
1717
browser,
18-
device,
1918
uniqMerge(visits) as visits,
2019
countMerge(hits) as hits
2120
from
@@ -32,7 +31,7 @@ SQL >
3231
and date <= today()
3332
{% end %}
3433
group by
35-
browser, device
34+
browser
3635
order by
3736
visits desc
3837
limit {{Int32(skip, 0)}},{{Int32(limit, 50)}}

0 commit comments

Comments
 (0)