0
我試圖從臨時表中取出唯一的mls行並將它們放入主表中,但GROUP BY給我提出了問題。非常感謝幫助。MySQL從臨時組插入
INSERT into data (showing, price, mls, street, unit, showing_start, showing_end, agent, broker, telephone) SELECT showing, price, mls, street, unit, showing_start, showing_end, agent, broker, telephone from tmpdata where mls not in (SELECT mls from data) GROUP BY mls