我有一个像这样的 sql 语句:
SELECT a.status_id,
(SELECT batch_name
FROM pf_req_batch
WHERE batch_id = (SELECT batch_id
FROM pf_m_req_batch
WHERE request_id = 282)) AS BATCH_NAME
FROM pf_request
WHERE request_id = 282;
我需要使用 JOIN 对其进行转换。帮助,请!