In Drupal 7, do database queries need to be enclosed by double quotes?
Some SQL database engines are not supporting double quotes inside the query, that's why it didn't work out for you. Read more here: db_query#comment-11959.