Apex Tip: SQOL Error: only aggregate expressions use field aliasing

For those who get that error like me.

Actually, That means that you are missing a “comma” in your SOQL query.

Usually between fields.

I know, Crappy SQOL parser message, but wake up and keep coding! :)

 

One thought on “Apex Tip: SQOL Error: only aggregate expressions use field aliasing

Leave a Reply to Jefry Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">