0
我做錯了什麼在查詢文件的這一部分:在查詢部分錯誤messase:列列出或自定義序列應指定
CREATE TABLE LR_Charts;
INSERT INTO TABLE LR_Charts
select campid,CampNum,Count,Legend from tmp_LRchart1 Order By CampNum;
ALTER TABLE LR_Charts ADD COLUMNS (CountCumm INT);
Select tmp_LRchart1.campid, tmp_LRchart1.Count, SUM(LR_Charts.Count)
as LR_Charts.CountCumm from tmp_LRchart1, LR_Charts
where tmp_LRchart1.campid >= LR_Charts.campid
group by tmp_LRchart1.campid order by tmp_LRchart1.campid;
請幫助。