内部結合を使用してこのクエリを変換するにはどうすればよいですか:
db_query("select max(field_date_and_time_value2) as last_time
from field_data_field_date_and_time
where (field_date_and_time_value2 > '".$today."')
AND (".$node->uid." = (select uid from node where nid = " . $node->nid ."))");