以下语句错误的是() A: SELECTrank,AVG(salary)FROMpeopleGROUPBYrankHAVINGAVG(salary)>1000 B: SELECTrank,AVG(salary)FROMpeopleHAVINGAVG(salary)>1000GROUPBYrank; C: SELECTAVG(salary)FROMpeopleGROUPBYrankHAVINGAVG(salary)>1000; D: SELECTrank,AVG(salary)FROMpeopleGROUPBYrankWHEREAVG(salary)>1000;
以下语句错误的是() A: SELECTrank,AVG(salary)FROMpeopleGROUPBYrankHAVINGAVG(salary)>1000 B: SELECTrank,AVG(salary)FROMpeopleHAVINGAVG(salary)>1000GROUPBYrank; C: SELECTAVG(salary)FROMpeopleGROUPBYrankHAVINGAVG(salary)>1000; D: SELECTrank,AVG(salary)FROMpeopleGROUPBYrankWHEREAVG(salary)>1000;
1