db_query with where clause not returning anything I ran following query on DB through PHPmyAdmin 

SELECT * FROM field_data_field_country_feed WHERE entity_id=40848


And it worked and returned me the single row
But when I try to implement that in my custom services it is not returning anything.

$result1 = db_query("SELECT * FROM field_data_field_country_feed WHERE entity_id=40848")-&gt;fetchAll();
        var_dump($result1);


Please help
Try:

$taxonomy_term = taxonomy_term_load(40848); // the 40848 is the term id
$field_items = field_get_items('taxonomy', $taxonomy_term, 'field_data_field_country_feed');