Even though I'm selecting a column as another column I cannot perform a query on the aliased column....
Just figured it out. You can't use where clauses on aggregates in MySQL. You need to use having() in...
The Laravel portal for problem solving, knowledge sharing and community building.
The community