网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
单选题
假设需要查询Oracle数据文件的文件名和存储位置,可以使用如下()方式。
A
SELECT name,status FROM V$datafile
B
SELECT name,status FROM V$userfile
C
SELECT name,status FROM V$DBA
D
SELECT name,status FROM V$ctrlfile
参考答案
参考解析
解析:
暂无解析
更多 “单选题假设需要查询Oracle数据文件的文件名和存储位置,可以使用如下()方式。A SELECT name,status FROM V$datafileB SELECT name,statusFROM V$userfileC SELECT name,status FROM V$DBAD SELECT name,status FROM V$ctrlfile” 相关考题
考题
关于group by 以下语句正确的是( )A.SELECT store_name FROM Store_Information GROUP BY store_nameB. SELECT SUM(sales) FROM Store_Information GROUP BY salesC.SELECT store_name, price SUM(sales) FROM Store_Information GROUP BY store_name,priceD.SELECT store_name, SUM(sales) FROM Store_Information GROUP BY store_name
考题
哪些是正确的 like 运算表达式?A.select * from net_46 where s_name like ’晓’B.select * from net_46 where s_name like ’&晓&’C.select * from net_46 where s_name like ’$晓$’D.select * from net_46 where s_name like ’%晓%’
考题
You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns:CUST_ID NUMBER(4) NOT NULLCUST_NAME VARCHAR2(100) NOT NULLCUST_ADDRESS VARCHAR2(150)CUST_PHONE VARCHAR2(20)Which SELECT statement accomplishes this task?()A. SELECT* FROM customers;B. SELECT name, address FROM customers;C. SELECT id, name, address, phone FROM customers;D. SELECT cust_name, cust_address FROM customers;E. SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;
考题
要从学生成绩表(stu_ grade)中查询出学号(stu_ no)等于109的学生姓名(name)和成绩(grade),(13)可以实现这一功能。A.select *from stu_ gradeB.select* from stu_ grade where stu_ no='109'C.select name, grade from stu_ gradeD.select name,grade from stu_ grade where stu_ no='109'
考题
当需要查询日志文件所有组及其成员的名称和文件位置,可以使用()方式。
A.SELECT * FROM V$LOGFILEB.SELECT * FROM V$LOGC.SELECT * FROM V$LOGHISTORYD.SELECT * FROM V$DBA
考题
当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。
A.SELECT name FROM V$CONTROLFILEB.SELECT name FROM V$CTRLLFILEC.SELECT name FROM V$USERFILESD.SELECT name FROM V$DBAFILE
考题
要查询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‘电子商务%’
考题
下列哪个语句查出雇员表(employees)里的雇员名字(ename)是‘SMITH’的信息,并且给雇员名字(ename)列定义一个别名Name()。A、select employeesno,ename Name,job from employees where ename=‘SMITH’B、select employeesno,ename ‘Name’,job from employees where ename=SMITHC、select employeesno,ename “Name”,job from employees where ename=‘SMITH’D、select employeesno,ename ‘Name’,job frome mployees wheree name=‘SMITH’
考题
数据库中有一张表名称为Student,有列Name,Age,IDCard,Sex。要求写SQL语句查询出表中所有的数据,下列哪个SQL语句是正确的()A、Select* From StudentB、Select Name From StudentC、Select Name,Age,IDCard From StudentD、Select Name,Age,IDCard,Sex From Student
考题
要查询st_info表中姓"王"且单名的学生情况,可用()命令。A、SELECT * FROM st_info WHERE st_name LIKE ´王%´B、SELECT * FROM st_info WHERE st_name LIKE ´王_´C、SELECT * FROM st_info WHERE st_name=´王%´D、SELECT * FROM st_info WHERE st_name=´王__´
考题
以下()语句从表TABLE_NAME中提取前10条记录。A、select * from TABLE_NAME where rowcount=10B、select TOP 10 * from TABLE_NAMEC、select TOP of 10 * from TABLE_NAMED、select * from TABLE_NAME where rowcount=10
考题
现有表Employee,字段:id(int)、firstname(varchar)、lastname(varchar);以下sql语句错误的是()A、select firstname+’.’+lastnameas’name’from employeeB、select firstname+’.’+lastname=’name’from employeeC、select’name’=firstname+’.’+lastnamefrom employeeD、select firstname,lastname from employee
考题
如果要查询book表中所有书名以“数据库”开头的书籍价格,下列()语句是正确的。A、SELECT price FROM book WHERE book_name=“数据库*”B、SELECT price FROM book WHERE book_name LIKE“数据库*”C、SELECT price FROM book WHERE book_name=“数据库%”D、SELECT price FROM book WHERE book_name LIKE“数据库%”
考题
当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。A、SELECT name FROM V$CONTROLFILEB、SELECT name FROM V$CTRLLFILEC、SELECT name FROM V$USERFILESD、SELECT name FROM V$DBAFILE
考题
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?()A、SELECT COUNT(*) FROM employees WHERE last_name='Smith';B、SELECT COUNT(dept_id) FROM employees WHERE last_name='Smith';C、SELECT DISTINCT(COUNT(dept_id)) FROM employees WHERE last_name='Smith';D、SELECT COUNT(DISTINCT dept_id) FROM employees WHERE last_name='Smith';E、SELECT UNIQUE(dept_id) FROM employees WHERE last_name='Smith';
考题
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? ()A、SELECT last_name FROM EMP WHERE last_ name LIKE '_A%';B、SELECT last_name FROM EMP WHERE last name ='*A%'C、SELECT last_name FROM EMP WHERE last name ='_A%';D、SELECT last_name FROM EMP WHERE last name LIKE '*A%'
考题
SGA是一块巨大的共享内存区域,被看成是Oracle数据库的一个大缓冲池,如果需要查看SGA的大小信息,可以使用如下()语句。A、SELECT SGA FROM V$DBAB、SELECT * FROM V$DBAC、SELECT * FROM V$SGAD、SELECT size FROM V%DBA
考题
当需要查询日志文件所有组及其成员的名称和文件位置,可以使用()方式。A、SELECT * FROM V$LOGFILEB、SELECT * FROM V$LOGC、SELECT * FROM V$LOGHISTORYD、SELECT * FROM V$DBA
考题
Which SQL statement accepts user input for the columns to be displayed, the table name, and WHERE condition? ()A、SELECT 1, "2" FROM 3 WHERE last_name = '8';B、SELECT 1, '2' FROM 3 WHERE ' last_name = '8';C、SELECT 1, 2 FROM 3 WHERE last_name = '8';D、SELECT 1, '2' FROM EMP WHERE last_name = '8';
考题
当需要返回当前用户的名字,可以执行如下()SQL语句。A、SELECT user FROM V$DBAB、SELECT user FROM dualC、SELECT name FROM dualD、SELECT name FROM V$DBA
考题
假设需要查询Oracle数据文件的文件名和存储位置,可以使用如下()方式。A、SELECT name,status FROM V$datafileB、SELECT name,statusFROM V$userfileC、SELECT name,status FROM V$DBAD、SELECT name,status FROM V$ctrlfile
考题
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); A、 The list of target platforms having the same endian format as the source databaseB、 The list of target platforms requiring endian conversionC、 The list of target platforms that will not require endian conversionD、 The list of all target platforms that can receive transportable tablespaces from the source databaseE、 None of the above
考题
下列哪些SQL语句可以查询出User表中name为张三的记录()。A、SELECT * FROM User WHERE name = ’张三’B、SELECT * FROM User WHERE name = ’张三’ LIMIT 0,1C、SELECT * FROM User WHERE name LIKE ’张三’D、SELECT * FROM User WHERE name LIKE ’%张三%’
考题
单选题当需要查询Oracle的控制文件的名称、位置和状态时,可以使用()语句。A
SELECT name FROM V$CONTROLFILEB
SELECT name FROM V$CTRLLFILEC
SELECT name FROM V$USERFILESD
SELECT name FROM V$DBAFILE
考题
多选题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);AThe list of target platforms having the same endian format as the source databaseBThe list of target platforms requiring endian conversionCThe list of target platforms that will not require endian conversionDThe list of all target platforms that can receive transportable tablespaces from the source databaseENone of the above
考题
单选题假设需要查询Oracle数据文件的文件名和存储位置,可以使用如下()方式。A
SELECT name,status FROM V$datafileB
SELECT name,statusFROM V$userfileC
SELECT name,status FROM V$DBAD
SELECT name,status FROM V$ctrlfile
考题
单选题You need to produce a report for mailing labels for all customers. The mailing label must have only the customer name and address. The CUSTOMERS table has these columns: Which SELECT statement accomplishes this task?()A
SELECT* FROM customers;B
SELECT name, address FROM customers;C
SELECT id, name, address, phone FROM customers;D
SELECT cust_name, cust_address FROM customers;E
SELECT cust_id, cust_name, cust_address, cust_phone FROM customers;
考题
查询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 ‘%国%’;
热门标签
最新试卷