W
wukw
Unregistered / Unconfirmed
GUEST, unregistred user!
懂Oracle的SQL语句的请帮忙:
INSERT INTO DAILY_TB2(FD, SDD, FOD, WV, TH) SELECT FD, SDD, FOD, WV, TH FROM DAILY_TB3
WHERE
DAILY_TB2.STA_ID=DAILY_TB3.STA_ID AND
DAILY_TB2.YEAR=DAILY_TB3.YEAR AND
DAILY_TB2.MONTH=DAILY_TB3.MONTH AND
DAILY_TB2.DAY=DAILY_TB3.DAY
提示说:无效列名
但是我觉得列名肯定没错,估计是语句本身写的有问题,帮忙:)
INSERT INTO DAILY_TB2(FD, SDD, FOD, WV, TH) SELECT FD, SDD, FOD, WV, TH FROM DAILY_TB3
WHERE
DAILY_TB2.STA_ID=DAILY_TB3.STA_ID AND
DAILY_TB2.YEAR=DAILY_TB3.YEAR AND
DAILY_TB2.MONTH=DAILY_TB3.MONTH AND
DAILY_TB2.DAY=DAILY_TB3.DAY
提示说:无效列名
但是我觉得列名肯定没错,估计是语句本身写的有问题,帮忙:)