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
The query as is throws the above error. I fixed it with the following syntax: SELECT company, num, COUNT(*) AS visits FROM route WHERE stop=149 OR stop=53 GROUP BY company, num HAVING COUNT(*)=2
The query as is throws the above error. I fixed it with the following syntax:
SELECT company, num, COUNT(*) AS visitsFROM route WHERE stop=149 OR stop=53GROUP BY company, numHAVING COUNT(*)=2