若要在基本表S中增加一列NAME,应使用下列的哪一行SQL语句()。 A: ADD TABLE S (NAME CHAR(8)) B: ADD TABLE S ALTER (NAME CHAR(8)) C: ALTER TABLE S ADD (NAME CHAR(8)) D: ALTER TABLE S (ADNAME CHAR(8))
若要在基本表S中增加一列NAME,应使用下列的哪一行SQL语句()。 A: ADD TABLE S (NAME CHAR(8)) B: ADD TABLE S ALTER (NAME CHAR(8)) C: ALTER TABLE S ADD (NAME CHAR(8)) D: ALTER TABLE S (ADNAME CHAR(8))
关于查询中列的别名, 以下()语句是不正确的(选一项) A: Select name as '姓名' from table B: Select name as姓名 from table where id =1 C: Sleect name = 姓名 from table D: Select names姓名 from table
关于查询中列的别名, 以下()语句是不正确的(选一项) A: Select name as '姓名' from table B: Select name as姓名 from table where id =1 C: Sleect name = 姓名 from table D: Select names姓名 from table
下面哪条语句可以查询姓“张”并且年龄等于20岁的用户,请问用哪条语句? A: Select * From table Where name like "%张%" And intAge=20 B: Select * From table Where name like "张%" And intAge=20 C: Select * From table Where name like "张%" And intAge="20" D: Select * From table Where name="张" And intAge=20
下面哪条语句可以查询姓“张”并且年龄等于20岁的用户,请问用哪条语句? A: Select * From table Where name like "%张%" And intAge=20 B: Select * From table Where name like "张%" And intAge=20 C: Select * From table Where name like "张%" And intAge="20" D: Select * From table Where name="张" And intAge=20
下来定义表的约束语法,错误的是() A: create table t1(id number primary key,name varchar2(10)) B: create table t1(id number constraint p_k primary key(id),name varchar2(10)) C: create table t1(id number constraint p_k primary key,name varchar2(10)) D: create table t1(id number,name varchar2(10),primary key(id))
下来定义表的约束语法,错误的是() A: create table t1(id number primary key,name varchar2(10)) B: create table t1(id number constraint p_k primary key(id),name varchar2(10)) C: create table t1(id number constraint p_k primary key,name varchar2(10)) D: create table t1(id number,name varchar2(10),primary key(id))
hive创建表并指定列分隔符的正确的HQL是( )。 A: create table dbtest(id int, name string) row format delimited terminate by ','; B: create table dbtest(int id, string name) row format delimited by ','; C: create table dbtest(id int, name string) row format delimited fields terminated by ','; D: create table dbtest(int id, string name) row format delimited columns fields terminated by ',';
hive创建表并指定列分隔符的正确的HQL是( )。 A: create table dbtest(id int, name string) row format delimited terminate by ','; B: create table dbtest(int id, string name) row format delimited by ','; C: create table dbtest(id int, name string) row format delimited fields terminated by ','; D: create table dbtest(int id, string name) row format delimited columns fields terminated by ',';
If there is already a table with the same name existed in the database, to overwrite the original table by query, the query type that should be used is (). A: Delete B: Append C: Generate table D: Update
If there is already a table with the same name existed in the database, to overwrite the original table by query, the query type that should be used is (). A: Delete B: Append C: Generate table D: Update
hive里创建表test,表里添加两个字段id和name,以下哪个HQL是正确的( ) A: create test(id int, name string); B: create test(int id, string name); C: create table test(int id, string name); D: create table test(id int, name string)
hive里创建表test,表里添加两个字段id和name,以下哪个HQL是正确的( ) A: create test(id int, name string); B: create test(int id, string name); C: create table test(int id, string name); D: create table test(id int, name string)
After SELECT, only the field name of the table can appear, not an<br/>expression.( )
After SELECT, only the field name of the table can appear, not an<br/>expression.( )
修改表Student中姓名Name为“张三”的学生的专业Major改为“计算机” A: ALTER TABLE Student SET Name='张三' WHERE Major='计算机' B: UPDATE Student SET Name='张三' WHERE Major='计算机' C: UPDATE Student SET Major='计算机' WHERE Name='张三' D: ALTER TABLE Student SET Major='计算机' WHERE Name='张三'
修改表Student中姓名Name为“张三”的学生的专业Major改为“计算机” A: ALTER TABLE Student SET Name='张三' WHERE Major='计算机' B: UPDATE Student SET Name='张三' WHERE Major='计算机' C: UPDATE Student SET Major='计算机' WHERE Name='张三' D: ALTER TABLE Student SET Major='计算机' WHERE Name='张三'
Can I a table for five this evening at 8 o’clock? My name’s Taylor.
Can I a table for five this evening at 8 o’clock? My name’s Taylor.