1Z0-061 · Question #310
Which of these is a defining characteristic of a complex view, rather than a simple view? (Choose one or more correct answers.)
The correct answer is D. Performing an aggregation E. Joining two tables. D, E. Aggregations and joins make a view complex and make DML impossible. A, B, C. Selection and projection or renaming columns does not make the view complex.
Question
Which of these is a defining characteristic of a complex view, rather than a simple view? (Choose one or more correct answers.)
Options
- ARestricting the projection by selecting only some of the table's columns
- BNaming the view's columns with column aliases
- CRestricting the selection of rows with a WHERE clause
- DPerforming an aggregation
- EJoining two tables
How the community answered
(46 responses)- A4% (2)
- B15% (7)
- C7% (3)
- D74% (34)
Explanation
D, E. Aggregations and joins make a view complex and make DML impossible. A, B, C. Selection and projection or renaming columns does not make the view complex.
Topics
Community Discussion
6The correct answers are D and E, because a complex view is defined by the presence of group functions like aggregations or joins across multiple tables, which are features that go beyond what a simple view can do. Options A, B, and C, such as limiting columns, using aliases, or filtering rows with WHERE, can all appear in a simple single-table view and do not push it into the complex category.
Good call Grace, just worth flagging that DISTINCT and the ROWNUM pseudocolumn also bump a view into the complex category, which Oracle exams love to sneak in as a trick option.
D and E are your answers, and this question is testing whether you know Oracle's specific criteria for classifying a view as complex, not just whether the SQL feels complicated. A, B, and C all describe features you can use in a perfectly simple, single-table view with no aggregation, and the exam will absolutely tempt you with B because group functions typically force you to use column aliases, making it feel like aliases are the distinguishing trait when they are not. Oracle defines a complex view as one that includes a join across two or more tables, a group function such as SUM or COUNT, a GROUP BY or HAVING clause, or a DISTINCT keyword, and this matters on the exam because complex views have restricted DML behavior. The 1Z0-061 objective that maps here is "Creating Views," specifically the subsection on simple versus complex views and DML restrictions, so lock in this memory hook: complex views are complex because of what they compute or combine, not because of what they filter or rename.
I went with C at first but aggregations and joins are what actually make views complex.
First time through I was almost certain C belonged in the answer set, because a WHERE clause feels like extra logic on top of a basic select. That thinking cost me points. The Oracle definition of a simple view only requires a single base table and no group functions, so you can absolutely use a WHERE clause, pick specific columns, or alias them without crossing into complex territory. What actually pushes a view into the complex category is either pulling from more than one table, which is option E, or introducing a group function like SUM or COUNT, which is option D. Both of those operations mean Oracle can no longer guarantee straightforward DML through the view, and that restriction is really the practical consequence the exam wants you to connect to the "complex" label. Once I stopped thinking about complexity as "how much SQL is involved" and started thinking about what breaks DML eligibility, D and E became obvious and C fell right off the list.
D and E are your answers, and this one should not cost you more than 45 seconds if you have the concept locked in. A simple view sits on a single table and uses no group functions, so the moment you see an aggregate like COUNT or AVG, or a join across two tables, you have crossed into complex-view territory. Options A, B, and C are all legal in a simple view, so they cannot be defining characteristics of a complex view, which is the precise language the question uses. The trap is B, because aliasing columns sounds fancy, but a simple view does it all the time. I saw this exact concept come up on my sitting about four years back, and I almost second-guessed myself on E because the question said "joining two tables" and I was momentarily thinking about inline views and subqueries. I took a breath, remembered the textbook definition, circled D and E, and moved on in under a minute. Flagging it would have been a waste of a flag slot. This is a quick-win question, commit to it and bank the time for the multi-part transaction and constraint questions later in the test that actually deserve a revisit.