What does the TRUNCATE statement

题目

What does the TRUNCATE statement do?()

  • A、Removes the table
  • B、Removes all rows from a table
  • C、Shortens the table to 10 rows
  • D、Removes all columns from a table
  • E、Removes foreign keys from a table
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Exhibit:Examine the data in the EMPLOYEES table.Examine the subquery:SELECT last_nameFROM employeesWHERE salary IN (SELECT MAX(salary)FROM employeesGROUP BY department_id);Which statement is true?()

A. The SELECT statement is syntactically accurate.

B. The SELECT statement does not work because there is no HAVING clause.

C. The SELECT statement does not work because the column specified in the GROUP BY clause is not in the SELECT list.

D. The SELECT statement does not work because the GROUP BY clause should be in the main query and not in the subquery.


参考答案:A

第2题:

Evaluate the SQL statement:What will be displayed?()

A. 0

B. 1

C. 0.00

D. An error statement


参考答案:A

第3题:

● The contractual statement of work (CSOW)

A Must be the same as the proposal statement of work

B Does not identify reporting requirements

C Can be at a different level of detail (i.e. WBS level) than the proposal statement of work

D Identifies the contractor's organizational structure for the project

E All of the above


正确答案:C

第4题:

I just wonder( )that makes him so excited.

A.why it does
B.what he does
C.how it is
D.what it is

答案:D
解析:
考查强调句型。本题题干相当于I just wonder what makes him so excited.的意义,所以该题实际上为强调句型的特殊疑问句式。what 为宾语从句的连接词,且在从句中作主语。故本题选D。句意:我想知道什么使他如此兴奋。

第5题:

Click the Exhibit button and examine the data in the EMPLOYEES table.Examine the subquery:SELECT last_nameFROM employeesWHERE salary IN (SELECT MAX(salary)FROM employeesGROUP BY department_id);Which statement is true?()

A.The SELECT statement is syntactically accurate.

B.The SELECT statement does not work because there is no HAVING clause.

C.The SELECT statement does not work because the column specified in the GROUP BY clause is not in the SELECT list.

D.The SELECT statement does not work because the GROUP BY clause should be in the main query and not in the subquery.


参考答案:A

第6题:

What is the result of executing a TRUNCATE TABLE command on a table that has Flashback Archivingenabled?()

A. It fails with the ORA-665610 Invalid DDL statement on history-tracked message

B. The rows in the table are truncated without being archived.

C. The rows in the table are archived, and then truncated.

D. The rows in both the table and the archive are truncated.


参考答案:A

第7题:

Evaluate the set of SQL statements:What is true about the set?()

A. The DESCRIBE DEPT statement displays the structure of the DEPT table.

B. The ROLLBACK statement frees the storage space occupies by the DEPT table.

C. The DESCRIBE DEPT statement returns an error ORA-04043: object DEPT does not exist.

D. The DESCRIBE DEPT statement displays the structure of the DEPT table only if there is a COMMIT statement introduced before the ROLLBACK statement.


参考答案:A

第8题:

The EMPLOYEES table contains these columns:You need to write a query that will produce these results:1. Display the salary multiplied by the commission_pct.2. Exclude employees with a zero commission_pct.3. Display a zero for employees with a null commission value.Evaluate the SQL statement:What does the statement provide?()

A. All of the desired results

B. Two of the desired results

C. One of the desired results

D. An error statement


参考答案:C

第9题:

Which of the following may illustrate the difference between "competence" and__________ "performance"?

A.What a person "knows" and what he/she "does".
B.What a person "can do" and what he/she "does".
C.What a person "does" and what he/she "knows".
D.What a person "does" and what he/she "can do".

答案:A
解析:
考查语言学知识。competence“语言能力”,指语言使用者对于语言规则系统的潜在意识;performance“语言运用”,指在具体场景中语言的实际运用,二者对应的分别为“knows”和“does”。故选A。

第10题:

After applying the policy-rematch statement under the security policies stanza, what would happen to an existing flow if the policy source address or the destination address is changed and committed?()

  • A、The Junos OS drops any flow that does not match the source address or destination address.
  • B、All traffic is dropped.
  • C、All existing sessions continue.
  • D、The Junos OS does a policy re-evaluation.

正确答案:D

更多相关问题