what is correct sql statement syntax in PHP?

Posted by terrani on Stack Overflow See other posts from Stack Overflow or by terrani
Published on 2010-03-24T07:38:38Z Indexed on 2010/03/24 7:43 UTC
Read the original article Hit count: 242

Filed under:

Hi,

when I write a sql statement in php, i usualy write it as below

SELECT COUNT(*) FROM catalogsearch_query AS main_table

but I found that some people write sql statement like

SELECT COUNT(*) FROM catalogsearch_query AS main_table

do I have to use ` ?

© Stack Overflow or respective owner

Related posts about sql-statement-syntax