Support the ongoing development of Laravel.io →

enrichit

Joined 23 Dec 2014

Statistics

Threads 1
Replies 1
Solutions 0
Articles 0

Querying calculated fields.

Even though I'm selecting a column as another column I cannot perform a query on the aliased column....

0 Likes
1 Replies
replied 9 years ago

Querying calculated fields.

Just figured it out. You can't use where clauses on aggregates in MySQL. You need to use having() in...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.