SELECT name,status FROM V$datafile
SELECT name,status FROM V$userfile
SELECT name,status FROM V$DBA
SELECT name,status FROM V$ctrlfile
第1题:
A.SELECT * FROM V$LOGFILE
B.SELECT * FROM V$LOG
C.SELECT * FROM V$LOGHISTORY
D.SELECT * FROM V$DBA
第2题:
要查询book表中所有书名以“电子商务”开头的书籍作者,可用(61)语句。
A.SELECT author FROM booK WHERE book _name=‘电子商务*’
B.SELECT author FROM booK WHERE book _name LIKE‘电子商务*’
C.SELECT author FROM booK WHERE book_ name=‘电子商务%’
D.SELECT author FROM booK WHERE book_name LIKE‘电子商务%’
第3题:
数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求写SQL语句查询出表中所有的数据,下列哪个SQL语句是正确的()
第4题:
以下()语句从表TABLE_NAME中提取前10条记录。
第5题:
如果要查询book表中所有书名以“数据库”开头的书籍价格,下列()语句是正确的。
第6题:
Examine the description of the EMPLOYEES table: EMP_ID NUMBER(4) NOT NULL LAST_NAME VARCHAR2(30) NOT NULL FIRST_NAME VARCHAR2(30) DEPT_ID NUMBER(2) Which statement produces the number of different departments that have employees with last name Smith?()
第7题:
SGA是一块巨大的共享内存区域,被看成是Oracle数据库的一个大缓冲池,如果需要查看SGA的大小信息,可以使用如下()语句。
第8题:
Which SQL statement accepts user input for the columns to be displayed, the table name, and WHERE condition? ()
第9题:
假设需要查询Oracle数据文件的文件名和存储位置,可以使用如下()方式。
第10题:
下列哪些SQL语句可以查询出User表中name为张三的记录()。
第11题:
The list of target platforms having the same endian format as the source database
The list of target platforms requiring endian conversion
The list of target platforms that will not require endian conversion
The list of all target platforms that can receive transportable tablespaces from the source database
None of the above
第12题:
SELECT* FROM customers;
SELECT name, address FROM customers;
SELECT id, name, address, phone FROM customers;
SELECT cust_name, cust_address FROM customers;
SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;
第13题:
A.SELECT name FROM V$CONTROLFILE
B.SELECT name FROM V$CTRLLFILE
C.SELECT name FROM V$USERFILES
D.SELECT name FROM V$DBAFILE
第14题:
下列哪个语句查出雇员表(employees)里的雇员名字(ename)是‘SMITH’的信息,并且给雇员名字(ename)列定义一个别名Name()。
第15题:
要查询st_info表中姓"王"且单名的学生情况,可用()命令。
第16题:
现有表Employee,字段:id(int)、firstname(varchar)、lastname(varchar);以下sql语句错误的是()
第17题:
当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。
第18题:
You need to display the last names of those employees who have the letter "A" as the second character in their names. Which SQL statement displays the required results? ()
第19题:
当需要查询日志文件所有组及其成员的名称和文件位置,可以使用()方式。
第20题:
当需要返回当前用户的名字,可以执行如下()SQL语句。
第21题:
The following query will provide what information about transportable tablespaces for the current database?() select d.platform_name "Source", t.platform_name "Compatible Targets", endian_format from v$transportable_platform t, v$database d where t.endian_format = (select endian_format from v$transportable_platform t, v$database d where d.platform_name = platform_name);
第22题:
SELECT name FROM V$CONTROLFILE
SELECT name FROM V$CTRLLFILE
SELECT name FROM V$USERFILES
SELECT name FROM V$DBAFILE
第23题:
SELECT name,status FROM V$datafile
SELECT name,status FROM V$userfile
SELECT name,status FROM V$DBA
SELECT name,status FROM V$ctrlfile
第24题:
查询student数据库中grade表中学生姓名st_name含有“国”的全部学生情况,可用什么命令? (1.0分) [单选.]
A. select * from grade where st_name like ‘国’; B. select * from student where st_name like ‘国’; C. select * from grade where st_name= ‘国’; D. select * from grade where st_name like ‘%国%’;
答案:D