The Query Performance chapter from High Performance MySQL book (2004) said MySQL(4.0.1) attempts to locate the results of any ‘SELECT’ query in the query cache before bothering to analyze or execute it. MySQL uses the exact query text it receives, so the cache is sensitive, which means
SELECT * FROM table1
is different from
select * FROM table1
I’d like to know if this still is the case in MySQL 5.x, so we should always type ‘SELECT’ instead of ‘select’.
It’s not, but you would know that if you tried it!
EDIT:
Neither are the following, just in case you were wondering.