• 2022-06-17
    有关系表SC(S# , C#, Score),求“001”号课成绩比“002”号课成绩高的所有学生的学号。下列SQL语句正确的是_________。[br][/br](单选题)
    A: Select S1.S
    B: From SC S1, SC S2 Where S1.S
    C: = S2.S
    D: and S1.C
    E: =‘001’ and S2.C
    F: =‘002 ;
    G: Select S1.S
    H: From SC S1, SC S2 Where S1.S
    I: = S2.S
    J: and S1.C
    K: =‘001’ and S2.C
    L: =‘002’ and S1.Score > S2.Score;
    M: Select S1.S
    N: From SC S1, SC S2 Where S1.S
    O: = S2.S
    P: and S1.C
    Q: =‘001’ and S2.C
    R: =‘002’ and S2.Score > S1.Score;
    S: Select * From SC S1, SC S2 Where S1.S
    T: = S2.S
    U: and S1.C
    V: =‘001’ and S2.C
    W: =‘002’ and S1.Score > S2.Score;
  • 举一反三