INSERT INTO TEST VALUES(‘&ID’,‘&NAME’); 语句在执行时将()
第1题:
A.InsertIntousers(id,user_namE.Valuee(100,"luhong")提示:id字段类型自动编号,因此,用户不能赋值
B.InsertIntousers(real_name,tel)Valuee("卢红","6545632")提示:user_name是主键必须赋值,但未赋值。
C.InsertIntousers(user_name,Email)Valuee("luhong","")提示:Email不是必填字段,但应该赋NULL值
D.InsertIntousers(user_name,Email)Valuee("luhong",NULL)
第2题:
要在users表中插入1条记录,下面哪条语句是正确的()
第3题:
评估以下CREATETABLE语句的执行结果: CREATET ABLE customers (customer_id NUMBER,customer_name VARCHAR2(25), address VARCHAR 2(25), city VARCHAR 2(25), region VARCHAR 2(25), postal_code VARCHAR 2(11), CONSTRAINT customer_id_un UNIQUE(customer_id), CONSTRAINTcustomer_name_nnNOTNULL(customer_name)); 为什么执行时此语句会失败()
第4题:
现有表book,字段:id(int),title(varchar),price(float);其中id字段设为标识,使用insert语句向book表中插入数据,以下语句错误的是()。
第5题:
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) HIRE_DATE DATE Which INSERT statement is valid?()
第6题:
Which three statements inserts a row into the table?()
第7题:
此语句会创建一个基于函数的索引
因为语法错误,此语句将失败
该语句将创建一个组合唯一索引
该语句将创建一个组合非唯一索引
第8题:
InsertIntousers(id,user_namE.Valuee(100,luhong)提示:id字段类型自动编号,因此,用户不能赋值
InsertIntousers(real_name,tel)Valuee(卢红,6545632)提示:user_name是主键必须赋值,但未赋值。
InsertIntousers(user_name,Email)Valuee(luhong,)提示:Email不是必填字段,但应该赋NULL值
InsertIntousers(user_name,Email)Valuee(luhong,NULL)
第9题:
insert into book(id,title,price)values(1,’java’,100)
insert into book(title,price)values(’java’,100)
insert into book values(’java’,100)
insert book values(’java’,100)
第10题:
request.getSession().setAttribute(“name”,newer)
request.getSession().getAttribute(“ID”,id);
request.getSession().setParameter(“ID”,id);
request.getSession().getParameter(“ID”,id)
第11题:
INSERT INTO employees (employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01/01/01);
INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01 january 01');
INSERT INTO employees(employee_id, first_name, last_name, Hire_date) VALUES (1000, 'John', 'smith', To_ date ('01/01/01));
INSERT INTO employees(employee_id, first_name, last_name, hire_date) VALUES (1000, 'John', 'smith','01-Jan-01');
第12题:
insert into book (id,title,price) values(1,'java',100)
insert into book (title,price) values('java',100)
insert into book values ('java',100) 这辆都不可以啊,如果不指定列需要明确的给出空值
insert book values('java',100)
第13题:
现有表book,字段:id(int),title(varchar),price(float);其中id字段设为标识,使用insert语句向book表中插入数据,以下语句错误的是()。
第14题:
“雇员”表包含以下列: EMPLOYEE_ID NOT NULL, Primary Key SSNUM NOT NULL, Unique LAST_NAME VARCHAR2(25) FIRST_NAME VARCHAR2(25) DEPARTMENT_ID NUMBER 部门表中 DEPARTMENT_ID 列的外键 SALARY NUMBER(8,2) 如果执行以下语句: CREATE INDEX emp_name_idx ON employees(last_name, first_name); 以下哪个说法是的()
第15题:
要在users表中插入一条新记录,下面语句正确的是()。
第16题:
下列哪种方式可以在session中保存一个名为"name",值为"newer"的属性()
第17题:
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) Which three statements inserts a row into the table? ()
第18题:
Examine the structure of the EMPLOYEES table: EMPLOYEE_ID NUMBER Primary Key FIRST_NAME VARCHAR2(25) LAST_NAME VARCHAR2(25) Which three statements insert a row into the table? ()
第19题:
不确定,和前面的命令有关
当前记录字段name的值
变量不唯一的出错信息
内存变量name的值
第20题:
INSERT INTO employees VALUES ( NULL, 'John', 'Smith');
INSERT INTO employees( first_name, last_name) VALUES( 'John', 'Smith');
INSERT INTO employees VALUES ( '1000', 'John', NULL);
INSERT INTO employees (first_name, last_name, employee_id) VALUES ( 1000, 'John', 'Smith');
INSERT INTO employees (employee_id) VALUES (1000);
INSERT INTO employees (employee_id, first_name, last_name) VALUES ( 1000, 'John', ' ');
第21题:
insertintobook(id,title,price)values(1,’java’,100)
insertintobook(title,price)values(’java’,100)
insertintobookvalues(’java’,100)
insertbookvalues(’java’,100)
第22题:
Insert Into users(id,user_name) Values(100, luhong)
Insert Into users(real_name,tel) Values(卢红,6545632)
Insert Into users(user_name,Email) Values(luhong, )
Insert Into users(user_name,Email) Values(luhong, NULL)
第23题:
INSERT INTO employees VALUES (NULL, 'JOHN','Smith');
INSERT INTO employees( first_name, last_name) VALUES ('JOHN','Smith');
INSERT INTO employees VALUES ('1000','JOHN','NULL');
INSERT INTO employees(first_name,last_name, employee_id) VALUES ('1000, 'john','Smith');
INSERT INTO employees (employee_id) VALUES (1000);
INSERT INTO employees (employee_id, first_name, last_name) VALUES ( 1000, 'john',);