0
表如何合併到這個單個插入MySQL的INSERT INTO從多個選擇查詢
INSERT INTO masterTable (count1) select count(*) as count1 from tablex
INSERT INTO masterTable (count2) select count(*) as count2 from tabley
INSERT INTO masterTable (count3) select count(*) as count3 from tablez
我已經發布前試過了,同樣的,但看到語法錯誤 –
對不起,我已經改正了。 –
謝謝。現在起作用 –