Oracle difference projection selection intersection join description

Source: Internet
Author: User

 

 

There are similar questions in OCP 007:

 

Q: 141 evaluate this SQL statement:

Selecte. employee_id, E. last_name, E. department_id, D. department_name

From employees e, departments d

Where E. department_id = D. department_id;

 

In the statement, which capabilities of a SELECT statement are running med?

A. Selection, projection, join

B. Difference, projection, join

C. Selection, intersection, join

D. intersection, projection, join

E. Difference, projection, product

 

The answer here is. Let's take a look at the meanings of these terms:

 

Selection: query, select. Query some rows from the table.

Intersection: intersection. Two or more tables are joined to the common part.

Projection: Join and projection. Some columns are queried from the table.

Difference: difference set, two tables or different parts after multi-Table Association

Join: Join. This is described in my previous blog.

 

Join join: Internal join, external join, and self-join. The above question can be understood as internal join. By default, join is inner join, for external connections, you must specify the related keywords (left/right/full outer join) or symbols (+ ).

 

Detailed description of Oracle table connection (internal/external/self-connection)

Http://blog.csdn.net/tianlesoftware/article/details/5795896

 

 

 

 

 

Bytes -------------------------------------------------------------------------------------------------------

All rights reserved. reprinted articles are allowed, but source addresses must be indicated by links. Otherwise, the documents will be held legally responsible!

Blog: http://blog.csdn.net/tianlesoftware

WEAVER: http://weibo.com/tianlesoftware

Email: tianlesoftware@gmail.com

Skype: tianlesoftware

 

------- Add a group to describe the relationship between Oracle tablespace and data files in the remarks section. Otherwise, reject the application ----

Dba1 group: 62697716 (full); dba2 group: 62697977 (full) dba3 group: 62697850 (full)

Super DBA group: 63306533 (full); dba4 group: 83829929 dba5 group: 142216823

Dba6 group: 158654907 dba7 group: 172855474 dba8 group: 102954821

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.