in reply to Formatting your SQL properly is kinda helpful ...
in thread Using placeholders in MySQL returning an error

Personally, I format my SELECT statements as such:
I use the same format - and when you have a large select with lots of ugly stuff in the WHERE clause (or in the SELECT clause for that matter) it really helps to make it readable.

Michael

  • Comment on Re: Formatting your SQL properly is kinda helpful ...