I'm new to mysql.
I've got this query:
$tenantsInfo = $wpdb->get_results("SELECT * FROM exp_ten WHERE tenant_number = " . (int) $user->ID);
I need to order it by desc; Due to double-quotes I'm not sure where to add order by desc. Can please anyone point me out where should I add it?
Thank you.