Skip to Content
Head First SQL (Korean Edition), 2nd Edition
book

Head First SQL (Korean Edition), 2nd Edition

by Kimberly Fessel
June 2026
740 pages
14h 34m
Korean
O'Reilly Media, Inc.
Content preview from Head First SQL (Korean Edition), 2nd Edition

제10장. 조인 및 유니온: 다중 테이블 연산

이 작품은 AI를 사용하여 번역되었습니다. 여러분의 피드백과 의견을 환영합니다: translation-feedback@oreilly.com

Image

다중 테이블의 세계에 오신 것을 환영합니다. 데이터베이스에 테이블이 하나 이상 있는 것은 매우 유용하지만, 테이블들이 서로 연동되도록 하려면 몇 가지 새로운 단계별 절차를 배워야 합니다. 조인(Join)을 사용하면 관련 데이터를 일시적으로 명확성과 체계성을 위해 의도적으로 분리해 둔 테이블들에서 일시적으로 매칭하는 데 도움을 줍니다. 그리고 곧 배우게 되겠지만, 테이블을 결합하기 위한 여러 가지 조인 기법이 있습니다. 크로스 조인, 내부 조인, left join, 라이트 조인, 그리고 풀 아웃터 조인 이라는 용어들이 아직 머릿속에 바로 떠오르지 않을 수도 있지만, 이 장을 마치면 심사위원들에게 높은 점수를 받을 수 있는 최적의 조인 방식을 선택할 수 있을 만큼 충분히 이해하게 될 것입니다. 또한 셀프 조인과 여러 쿼리의 결과를 결합하는 UNION도 배워보게 될 것입니다. 이 새로운 기술들을 익히면, 필요한 어떤 형태로든 모든 데이터를 하나로 통합하는 방법을 곧 알게 될 것입니다.

이제 파티에 ‘JOIN’할 시간입니다

캠프 캘러웨이의 데이터 관리자인 머피 부인이 완전히 회복하여 다시 업무를 맡게 되었습니다. 9장에서 그녀가 자리를 비운 동안 콜린스 코치가 캠프 참가자들의 정보를 정리하기 위해 최선을 다했지만, 이제야 진정한 데이터의 재미가 시작됩니다.

Image

SQL에 대해 이야기하는 사람을 들어본 적이 있다면, 아마 “조인(join)”이라는 단어를 자주 들어보셨을 겁니다. 조인 생각만큼 복잡하지 않습니다. 결국 조인을 통해 여러 데이터베이스 테이블의 정보를 서로 매칭할 수 있게 됩니다. 이번 장에서는 조인에 대해 자세히 살펴보고, 작동 원리를 설명하며, 언제 조인을 사용해야 하는지 직접 파악해 볼 수 있는 충분한 기회를 제공하겠습니다. 또한 어떤 어떤 종류의 조인 을 사용해야 하는지도 알려드리겠습니다.

참고로, 트랜잭션 및 분석용 SQL 사용자들은 조인 문을 자주 작성합니다.

조인을 사용하면 여러 SQL 테이블의 데이터를 서로 매칭할 수 있습니다.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Tips for Designing Effective Presentation Slide Decks

Tips for Designing Effective Presentation Slide Decks

Curtis Newbold
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer
How to Overcome a Power Deficit

How to Overcome a Power Deficit

Cyril Bouquet, Jean-Louis Barsoux
Relational Power Is the New Currency of Hybrid Work

Relational Power Is the New Currency of Hybrid Work

Lebene Soga, Yemisi Bolade-Ogunfodun, Nazrul Islam, Joseph Amankwah-Amoah

Publisher Resources

ISBN: 0642572408091