nerdexam
Oracle

1Z0-007 · Question #201

Scott issues the SQL statements: If Sue needs to select from Scott's DEPT table, which command should she use?

The correct answer is B. SELECT *. If the table doesn't exist in your schema, you must prefix the table name with the schema information, separating the owner from the table name with a period. Incorrect Answers A: If you don't have DEPT table in your schema, this statement will fail. C: This statement is…

Controlling User Access

Question

Scott issues the SQL statements:

If Sue needs to select from Scott's DEPT table, which command should she use?

Options

  • ASELECT *
  • BSELECT *
  • CSELECT *
  • DSELECT *

How the community answered

(27 responses)
  • A
    11% (3)
  • B
    74% (20)
  • C
    4% (1)
  • D
    11% (3)

Explanation

If the table doesn't exist in your schema, you must prefix the table name with the schema information, separating the owner from the table name with a period. Incorrect Answers A: If you don't have DEPT table in your schema, this statement will fail. C: This statement is incorrect. D: This statement is incorrect. ALL_USERS view is used to extract information about users. Exam Questions, Study Guides, Practice Tests. Lead the way to help you pass any IT Certification exams, 100% Pass Guaranteed or Full Refund. Especially Cisco, CompTIA, Citrix, EMC, HP, Oracle, VMware, Juniper, Check Point, LPI, Nortel, EXIN and so on. Our Slogan: First Test, First Pass. Help you to pass any IT Certification exams at the first try. You can reach us at any of the email addresses listed below. Any problems about IT certification or our products, you could rely upon us, we will give you satisfactory answers in 24 hours.

Topics

#object privileges#SELECT privilege#schema access#cross-schema query

Community Discussion

No community discussion yet for this question.

Full 1Z0-007 Practice