Posts by Deniz Costa • 1 point
1 post
-
0
votes1
answer60
viewsA: Two WHERE with two independent conditionals
Good morning One way to eliminate scanning in a table would be to reuse the data for both situations. In this case, it is possible to apply. SELECT SUM(CASE WHEN l.created_at >=…