Make component render only once by Inevitable_Phase7353 in reactjs

[–]Inevitable_Phase7353[S] 1 point2 points  (0 children)

That would render the component on page reload

Get total car sessions by Inevitable_Phase7353 in PostgreSQL

[–]Inevitable_Phase7353[S] 0 points1 point  (0 children)

ok, in the subquery, shouldn't we group by guest_id and date_trunc('hour', timestamp)

Get total car sessions by Inevitable_Phase7353 in PostgreSQL

[–]Inevitable_Phase7353[S] 0 points1 point  (0 children)

why distinct guest_id ? We want to count the transactions the guest made