我如何轉換以下查詢加入如何轉換查詢加盟
UPDATE name_master
SET
is_available = 'n',
session_id = '18f05294fab50f30c13eea6304722376'
WHERE
name_id IN (SELECT
*
FROM
(SELECT
nm.name_id
FROM
name_master AS nm
JOIN product_master AS pm ON nm.name_id = pm.product_code
WHERE
nm.is_available = 'y'
AND nm.is_approval_needed = 'n'
AND nm.STATUS = 'active'
LIMIT 1) AS t)
我們可以重新開始嗎? – Strawberry
這是什麼意思? –