-
-
0
-
0
-
2
-
0PostgreSQL12.2企业级应用公开课(1): 备份恢复<br> 1、pg_dump备份以及进行选择性恢复<br> 2、pg_dumpall备份与恢复<br> 3、COPY备份与恢复<br> 4、pg_basebackup与恢复<br> 5、PG快照备份与恢复<br> <br> <br>时间:2020-03-14 20:00-21:00<br> 讲师:陈老师,PG金牌讲师<br> 视频下载:微信搜索 “北京CUUG” ,关注后输入 “pg1” 进行下载第一期公开课视频<br>
-
0经核实吧主nckia_98 未通过普通吧主考核。违反《百度贴吧吧主制度》第八章规定http://tieba.baidu.com/tb/system.html#cnt08 ,无法在建设 优技教育吧 内容上、言论导向上发挥应有的模范带头作用。故撤销其吧主管理权限。百度贴吧管理组
-
01、CUUG已于2月3日正式复工,鉴于疫情原因你可通过网络方式提高咨询效率,比如QQ、官网、400电话与我们联系,了解课程及认证相关事宜。 咨询QQ:2036105272(闻老师)、854966811(石老师) 官网:http://www.cuug.com 400电话:400-0909-964
-
0放假通知1: cuug将于1月17号正式放假,1月31号恢复上班,在这里提前祝大家春节快乐! 放假期间,您可通过400电话或者咨询QQ、或者官方网站联系我们。 400电话:400-0909-964 咨询QQ:2036105272(闻老师)、854966811(石老师) 官网:http://www.cuug.com 放假通知2: 放假期间,OCP解析公开课暂停,2月7号恢复正常。 公开课地址:https://ke.qq.com/course/326223 放假通知3: 如果您春节有时间学习或者提升,可以通过以上的联系方式远程报名, 全套的录屏和题库解析,轻
-
0Choose two. Which two statements are true about the DUAL table? A) It can display multiple rows and columns. B) It can be accessed only by the SYS user. C) It can be accessed by any user who has the SELECT privilege in any schema D) It can display multiple rows but only a single column. E) It consists of a single row and single column of VARCHAR2 data type. F) It can be used to display only constants or pseudo columns. Answer:AC (解析:dual 这个虚拟的表可以显示多行多列;任何用户都可以访问它。这道题的难点就是对 Answer:C 的理解:在任何模式中拥
-
0Choose three Which three actions can you perfom only with system privileges? A) Truncate a table in another schema. B) Access flat files via a database, which are stored in an operating system directory. C) Log in to a database. D) Query any table in a database. E) Use the WITH GRANT OPTION clause. F) Execute a procedure in another schema. Answer:CDF (解析:这道题考的就是可以授权哪些系统权限去做哪些活儿。 C:create session D:select any table F:EXECUTE ANY PROCEDURE 原来以为 AAnswer:正确,结构查询发现没有 truncate any table 的权限。 )
-
0Choose three. Which three statements are true about defining relations between tables in a relatonal database? A) Foreign key columns allow null values. B) Unique key columns allow null values C) Primary key columns allow null values. D) Every primary or unique key value must refer to a matching foreign key value. E) Every foreign key value must refer to a matching primary or unique key value. Answer:ABE (解析:AB Answer:比较简单明了;D Answer:说反了)
-
0Choose three. Which three statements are true about GLOBAL TEMPORARY TABLES? A) A GLOBAL TEMPORARY TABLE cannot have PUBLIC SYNONYM. B) A GLOBAL TEMPORARY TABLE can have multiple indexes C) A GLOBAL TEMPORARY TABLE can be referenced in the defining query of a view. D) Data Manipulation Language (DML) on GLOBAL TEMPORARY TABLES generates no REDO. E) A GLOBAL TEMPORARY TABLE can have only one index. F) A tigger can be created on a GLOBAL TEMPORARY TABLE Answer:BCD (解析:全局临时表跟普通表一样,可以创建索引、视图、触发器等等,dml 操作同样也会产生 redo。
-
0Choose three Examine this description of the PRODUCTS table: Name NULL? TYPE ------------------------------------------------------------------------ PROD_ID NOT NULL VARCHAR2(6) QUANTITY NUMBER(8,2) PRICE NUMBER(10.2) EXPIRY_DATE DATE Rows exist in this table with data in all the columns. You put the PRODUCTS table in read-only mode. Which three commands execute successfully on PRODUCTS? A) ALTER TAELE products DROP COLUMN expiry_date; B) CREATE INDEX price_idx on products (price); C) ALTER TABLE products SET UNUSED(expiry_date); D) TRUNCATE TABLE products; E) ALTER TABLE products DROP UNUSED
-
0Choose two Which two statements are true about transactions in the Oracle Database serve? A) An uncommitted transaction commits automatically if the user exits SQL*Plus B) Data Manipulation Language (DML) statements always start a new transaction. C) A user can always see uncomitted updates made by the same user in a dfferert session. D) A Data Detiniton Language (DDL) statement does a commit automatially only for the data dictionary updates caused by the DDL E) A session can always see uncomnitted updetes made by itselt. F) If a session has an uncometted transaction,then a DDL statement issue
-
0choose two In the PROMOTIONS table, the PROMO_BEGTN_DATE columm is of datatype DATE and the default date format is DD-MON-RR. Which two statements are true about expressions using PROMO_BEGIN_DATE contained in a queny? A) TO_NUMBER(PROMO_ BEGIN_DATE) - 5 will return number B) TO_DATE(PROMO_BEGIN_DATE * 5) will return a date C) PROMO_BEGIN_DATE - SYSDATE will return a number. D) PROMO_BEGIN_DATE - 5 will return a date. E) PROMO_BEGIN_DATE - SYSDATE will return an error. Answer:CD (解析:这道题考的还比较有意义,AAnswer:错是因为日期型的不能转换为 number;日期不
-
0Choose two The PRODUCT_INFORMATION table has a UNIT_PRICE column of data type NUMBER(8, 2). Evaluate this SQL statement: SELECT TO_CHAR(unit_price,'$9,999') FROM Product_intormation; Which two statements are true about the output? A) A row whose UNIT_PRICE column contains the value 1023.99 will be displayed as $1,024. B) A row whose UNIT_PRICE column contains the value 1023.99 will be displayed a5 $1,023. C) A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,0236. D) A row whose UNIT_PRICE column contains the value 10235.99 will be displayed as $1,023. E)
-
0Choose two The INVOICE table has a QTY_SOLD column of data type NUMBER and an INVOTCE_DATE column of data type DATE NLS_DATE_FORMAT is set to DD-MON-RR. Which two are true about data type conversions involving these columns in query expressions? A) invoice_date > '01-02-2019' : uses implicit conversion B) qty_sold =' 05549821 ' : requires explicit conversion C) CONCAT(qty_sold, invoice_date) : reuires explicit conversion D) qty_sold BETWEEN '101' AND '110' : uses implicit convesion E) invoice_date = '15-march-2019' : uses implicit conversion Answer:
-
0Choose two Which two statements are true about the WHERE and HAVING clouses in a SELECT statement? A) The WHERE clause can be used to exclude rows after divding them into groups B) WHERE and HAVING clauses can be used In the same statement only if applied to dfferent table columns. C) The HAVING clause can be used with aggregating functions in subqueries. D) Aggregating functions and columns used in HAVING clauses must be spectfied in thes SELECT list of a query. E) The WHERE clause can be used to exclude rows before dviding them into goups. Answer:CE (解析:having 子句是可以跟子
-
0choose two Examine this business rule: Each studert can work on mutiple projects and eath project can have multiple students You must desion an Entity Relationsep (ER) model for optional data storage and allow generating reports in this format: STUDENT_ID FIRST_NAME LAST_NAME PROJECT_ID PROJECT_NAME PROJECT_TASK Which two statements are true? A) An associative table must be created with a composite key of STUDENT_ID and PROJECT_ID,which is the foreign key linked to the STUDENTS and PROJECTS entities. B) The ER must have a many-to-many relationship between the STUDENTS and PROJECTS entities tha
-
0Choose two. Examine this partial command: CREATE TABLE cust ( cust_id NUMBER(2), credit_ limit NUMBER(10) ) ORGANIZATION EXTERNAL Which two clauses are required for this command to execute successfully? A) the DEFAULT DIRECTORY clause B) the REJECT LIMIT clause C) the LOCATION clause D) the ACCESS PARAMETERS clause E) the access driver TYPE clause Answer:AD (解析:外部表建表语句,上面 Answer:看起来都对。但是通过测试,发现 E Answer:可以不需要指定,但是 directory 必须要制定,还有访问参数也必须要指定,访问参数里面位置参数必
-
0Choone three Examine the description of the PRODUCTS table: Name Null? Type ----------------------------------------------------------------- PRODUCT_ID NOT NULL NUMBER(2) PRODUCT_NANE VARCHAR2(10) UNIT_PRICE NUMBER(3) PURCHARGE VARCHAR2(2) EXPIRY_DATE DATE DELIVERY_DATE DATE Which three queres use valid expressions? A) SELECT produet_id, unit_pricer, 5 "Discount",unit_price+purcharge-discount FROM products; B) SELECT product_id, (unit_price * 0.15 / (4.75 + 552.25)) FROM products; C) SELECT ptoduct_id, (expiry_date - delivery_date) * 2 FROM products; D) SPLECT product_id, expiry_dat
-
0Choose two. Examine this SQL statement: UPDATE orders o SET customer_name = (SELECT cust_last_name FROM customers WHERE customer_id=o.customer_id); Which two are true? A) The subquery is executed before the UPDATE statement is executed. B) All existing rows in the ORDERS table are updated. C) The subquery is executed for every updated row in the ORDERS table. D) The UPDATE statement executes successfully even if the subquery selects multiple rows. E) The subquery is not a correlated subquery. Answer:BD (解析:这道题考的就是关联子查询,类似题目以前有考过。实验证
-
0Choose the best answer. Examine this query: SELECT TRUNC (ROUND(156.00,-2),-1) FROM DUAL; What is the result? A) 16 B) 160 C) 150 D) 200 E) 100 Answer:D (解析:关键就是 round 函数,0 是小数点左边第一位,以此类推。)
-
0Choone two Which three statements are true about dropping and unused columns in an Oracle database? A) A primary key column referenced by another column as a foreign key can be dropped if using the CASCADE option. B) A DROP COLUMN command can be rolled back C) An UNUSED column's space is redaimed automatially when the block containing that column is next queried D) An UNUSED column's space is redaimed automatially when the row containing that column is next queried. E) Partition key columns cannot be dropped. F) A column that is set to NNUSED still counts towards the limit of 1000 colu
-
0Choose two. Which two statements are true about a self join? A) The join key column must have an index. B) It can be a left outer join. C) It must be a full outer join. D) It can be an inner join. E) It must be an equie join. Answer:BD (自连接其实跟两张表的连接一样。可以是等连接、左右外连接等等。 不过在进行内连接时为了区别表的名字,需要加别名 select w.ename,m.ename from emp2 w inner join emp2 m on w.mgr=m.empno; )
-
0Choose two Which two statements are true about Oracle synonyms? A) A synonym can have a synonym. B) All private synonym names must be unique in the database. C) Any user can create a PUBLIC synonym. D) A synonym can be created on an object in a package. E) A synonym has an object number. (解析: 实验证明可以为同义词创建同义词; 同义词也是 Oracle 的一个对象; synonym 需要授权才能够创建; )
-
0Choose three Which three statements are true about views in an Orade batabase? A) A SELECT statement cannot contain a where clause when querying a view contaning a WHERE clause in its defining query B) Rows inserted into a table using a view are retained in the table if the view is dopped C) Views can join tables only if they belong to the same schema. D) Views have no segment. E) Views have no object number. F) A view can be created that refers to a non-existent table in its defining query. Answer:BD? (解析: 经过实验,A 不对;C 不对,视图可以和不同模式的表进行连
-
0Choose the best answer The EMPLOYEES table contains columns EMP_ID of data type NUMBER and HIRE_DATE of data type DATE You want to display the date of the first Monday after the completion of six months since hiring The NLS_TERRITORY parameter is set to AMERICA in the session and, therefore, Sunday is the first day ofthe week Which query can be used? A) SELECT emp_id,NEXT_DAY(ADD_MONTHS(hite_date,6), 'MONDAY') FROM employees; B) SELECT emp_id,ADD_MONTHS(hire_date,6), NEXT_DAY('MONDAY') FROM employees; C) SELECT emp_id,NEXT_DAY(MONTHS_BETWEEN(hire_date,SYSDATE),6) FROM employees
-
0Choose three Which three are true about granting object privileges on tables, views, and sequences? A) UPDATE can be granted only on tables and views. B) DELETE can be granted on tables, views, and sequences. C) REFERENCES can be granted only on tables and views. D) INSERT can be granted on tables, vews, and sequences. E) SELECT can be granted only on tables and views. F) ALTER can be granted only on tables and sequences. Answer:ACF (解析:update 和 delete 只能在表和视图上授权,不能在 sequence 上。 只有 SELECT 和 ALTER 权限对序列有效; )
-
0choose three Which three statements are true about indexes and their administration in an Orade database? A) An INVISIBLE index is not maintained when Data Manipulation Language (DML) is performed on its underlying table. B) An index can be created as part of a CREATE TABLE statement. C) A DROP INDEX statement always prevents updates to the table during the drop opeaton D) A UNIQUE and non-unique index can be ceated on the same table colunn E) A descending index is a type of funcion-based index F) If a query filters on an indexed column then it will always be used during execution of the query
-
0choose the best answer The CUSTOMERS table has a CUST_LAST_NAME column of data type VARCHAR2. The table has two rows whose COST_LAST_MANE values are Anderson and Ausson. Which query produces output for CUST_LAST_SAME containing Order for the first row and Aus for the second? A) SELECT REPLACE (REPLACE(cust_last_name,'son',''),'An','O') FROM customers; B) SELECT REPLACE (TRIM(TRALING 'son' FROM cust_last_name), 'An','O') FROM customers; C) SELECT INITCAP (REPLACE(TRIM('son' FROM cust_last_name),'An','O')) FROM custo
-
0choose two Exammine the desciption of the PRODUCT DETALS table: NAME NULL TYPE -------------------------------------------------- PRODUCT_ID NOT NULL NUMBER(2) PRODUCT_NAME NOT NULL VARCHAR2(25) PRODUCT_PRICE NUMBER(8,2) EXPIRY_DATE DATE Which two statements are true? A) PRODUCT_ID can be assigned the PEIMARY KEY constraint. B) EXPIRY_DATE cannot be used in arithmetic expressions. C) EXPIRY_DATE contains the SYSDATE by defalt if no date is assigned to it D) PRODUCT_PRICE can be used in an arithmetic expression even if it has no value stored in it E) PRODUCT_PRICE contains the value zero by def
-
0choose two The CUSTOMERS table has a CUST_CREDT_LIMIT column of date type number. Which two queries execute successtully? A) SELECT TO_CHAR(NVL(cust_credit_limit * .15,'Not Available')) FROM customers; B) SELECT NVL2(cust_credit_limit * .15,'Not AvailabIe') FROM customers; C) SELECT NVL(cust_credit_limit * .15, 'Not Available') FROM customers; D) SLECT NVL(TO_CHAR(cust_credit_limit * .15),'Not available') from customers; E) SELECT NVL2(cust_credit_limit,TO_CHAR(cust_credit_limit * .15),'NOT Available') FROM customers; Answer:DE (解析:注意 nvl 返
-
02.choose two Examine the description of the EMP_DETAILS table given below: Which two statements are true regarding SQL statements that can be executed on the EMP_DETAIL table? A) You cannot add a new column to the table with LONG as the data type. B) An EMP_IMAGE column can be included in the GROUP BY clause. C) You can alter the table to include the NOT Nun., constraint on the EMP_IMAGE column. D) An EMP_IMAGE column cannot be included in the ORDER BY clause. Answer:AD (解析: 答案 A: SQL> alter table sales add emp_info long; alter table sales add emp_info long * 第 1 行出现错
-
0Choose the best answer. Exanine the desciption of the EMPLOYEES table: Nane Null Type ---------------------------------------------------------- EMP_ID NOT NUL NUMBER EMP_NAME VARCHAR2 (40) DEPT_ID NUMBER(2) SALARY NUMBER(8,2) JOIN_DATE DATE Which query is valid? A) SELECT dept_id, join_date, SUM(salary) FROM employees GROUP BY dept_id,join_date; B) SELECT depe_id,join_date, SUM(salary) FROM employees GROUP BY dept_id: C) SELECT dept_id,MAX (AVG (salary)) FROM employees GROUP BY dept_id; D) SELECT dept_ id,AVG (MAX (salary)) FROM employees GROUP BY dapt_id; Anser:A (解析:sum 函数如果
-
1
-
12013新华教育论坛-大国教育之声 中国十大品牌职业培训机构-CUUG培训中心
-
5CUUG-中国unix用户组早期成立时的老照片
-
4Oracle WDP项目 Oracle作为行业顶级厂商,是行业技术标准的制定者,也是目前唯一能够提供整体解决
-
5与其他大型公司一样,AT&T正在转向云计算,以确保它能够继续创新并在快速发展的行业中保持领先。按
-
5甲骨文公司云平台上的服务将很快就能自行调整和打补丁了。这都要归功于甲骨文公司宣布将最近推出的
-
3大数据时代,计算模式也发生了转变,从“流程”核心转变为“数据”核心。hadoop体系的分布式计算框
-
1Oracle(甲骨文)今天宣布与中国的缔脉合作,主要是鉴于快速兴起的中国本土生物制药公司需要满足不断
-
7
-
2Oracle近日公布了一系列对基础设施即服务产品的升级,涵盖计算、存储和网络,从而希望在云计算领域赢