How to use the LOWER function in a Drupal query?
You can use LIKE instated of LOWER.

OR write something

$query-&gt;where('LOWER(n.blog_title) = :page', array(':page' =&gt; $page));


Refer Using SQL functions in conditionals in Drupal 7 db_select()