若要删除基本表S中的Age列,应该选用的SQL语句是( )。
A: DELETE Age FROM S
B: ALTER TABLE DROP Age
C: UPDATE S Age
D: ALTER TABLE S ‘Age’
A: DELETE Age FROM S
B: ALTER TABLE DROP Age
C: UPDATE S Age
D: ALTER TABLE S ‘Age’
举一反三
- 学生表s有4个字段分别为:sno,sname,sex,age,要在表s中删除字段age,可选用的SQL语句是( )。 A: delete age from s; B: alter table s delete age; C: update s age; D: alter table s drop age;
- 姓名、性别、年龄。要在表S中删除一个属性“年龄”,可选用的SQL语句是()。 A: UPDATE S Age B: DELETE Age from S C: ALTER TABLE S ‘Age’ D: ALTER TABLE S DROP Age
- 若有关系St (NO,NAME,SEX,AGE),删除其中AGE字段的SQL语句是 ( )。 A: ALTER TABLE St DROP AGE B: DROP AGE FROM St C: ALTER TABLE St DELETE AGE D: DELETE AGE FROM St
- 设已有关系Student(Sno, Sname, Sex, Age),若欲删除该表中的属性Age,恰当的SQL语句是( )。 A: DELETE Age from Student B: UPDATE Student Age C: ALTER TABLE Student(Age) D: ALTER TABLE Student DROP Age
- 加入需要给stu表删除一个字段age,下列哪个正确 A: alter table stu drop age; B: drop table age C: drop table drop age;