• 2022-06-07
    以下语句错误的是()
    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;
  • 举一反三