English

Explain the meaning of the term 'Join' as a tool of SQL. - Accountancy

Advertisements
Advertisements

Question

Explain the meaning of the term 'Join' as a tool of SQL.

Answer in Brief

Solution

An SQL Join is an operation that combines records from two or more tables. This is done by matching keys between tables. It comes in handy when we want to correlate a lot of information stored in multiple tables to make more sense of the information or to answer core business questions in any sort of enterprise environment.

To start a join process, first, we need to identify tables that share keys since this is the only way we can combine information in a way that makes sense. When joining tables, you can only join on keys, but you can join a primary key to either another primary key or a foreign key. If tables don't have keys in common, the join can be performed but it will just combine the information without any sort of purpose.

shaalaa.com
Introduction Data Base Management System for Accounting
  Is there an error in this question or solution?
2021-2022 (April) Term 2 - Delhi Set 1
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×