我正在尝试在选择语句中插入...如果可能的话? mySQL
Insert into listeners (TotalSessionTime) = (SELECT TIMEDIFF(StopTime, StartTime) from listeners where ID = 48);
答案 0 :(得分:1)
你很亲近
Insert into listeners (TotalSessionTime)
SELECT TIMEDIFF(StopTime, StartTime) from listeners where ID = 48;