Update: 2026-07-05 18:35:41
This commit is contained in:
@@ -61,8 +61,8 @@ $sqlHistory = "
|
|||||||
AND HOUR(created_at) = :next_hour
|
AND HOUR(created_at) = :next_hour
|
||||||
AND DAYOFWEEK(created_at) = :dow
|
AND DAYOFWEEK(created_at) = :dow
|
||||||
AND created_at >= DATE_SUB(NOW(), INTERVAL :weeks WEEK)
|
AND created_at >= DATE_SUB(NOW(), INTERVAL :weeks WEEK)
|
||||||
AND pickup_lat != 0
|
AND start_location != ''
|
||||||
AND pickup_lng != 0
|
AND start_location IS NOT NULL
|
||||||
GROUP BY cell_lat, cell_lng, country_code
|
GROUP BY cell_lat, cell_lng, country_code
|
||||||
HAVING demand_score >= 2
|
HAVING demand_score >= 2
|
||||||
ORDER BY demand_score DESC
|
ORDER BY demand_score DESC
|
||||||
|
|||||||
Reference in New Issue
Block a user