$country="USA";
$dr=$wpdb->get_results("SELECT $country FROM wp_shipping WHERE ID=$ids");
I want the above query in WordPress file, where country name is given dynamically but I am not getting how to do this. When I execute the above query, the result is nothing.