我不是 sql 编程方面的专家,我想知道您是否可以帮助我使用 INNER JOIN 重新编写以下查询?
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 ."))");