要修改select查询结果,你需要使用update语句。下面是一些常见的方法:
UPDATE table1
JOIN table2 ON table1.id = table2.id
SET table1.column = table2.column
WHERE condition;
UPDATE table1
SET column = (
SELECT column
FROM table2
WHERE condition
)
WHERE condition;
CREATE TEMPORARY TABLE temp_table
SELECT column
FROM table
WHERE condition;
UPDATE table
SET column = (
SELECT column
FROM temp_table
)
WHERE condition;
DROP TEMPORARY TABLE temp_table;
请根据你的具体需求选择适合的方法来修改select查询结果。