Skip to Content
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
For Enterprise
For Government
For Higher Ed
For Individuals
For Marketing
Explore Skills
Cloud Computing
Microsoft Azure
Amazon Web Services (AWS)
Google Cloud
Cloud Migration
Cloud Deployment
Cloud Platforms
Data Engineering
Data Warehouse
SQL
Apache Spark
Microsoft SQL Server
MySQL
Kafka
Data Lake
Streaming & Messaging
NoSQL Databases
Relational Databases
Data Science
Pandas
R
MATLAB
SAS
D3
Power BI
Tableau
Statistics
Exploratory Data Analysis
Data Visualization
AI & ML
Generative AI
Machine Learning
Artificial Intelligence (AI)
Deep Learning
Reinforcement Learning
Natural Language Processing
TensorFlow
Scikit-Learn
Hyperparameter Tuning
MLOps
Programming Languages
Java
JavaScript
Spring
Python
Go
C#
C++
C
Swift
Rust
Functional Programming
Software Architecture
Object-Oriented
Distributed Systems
Domain-Driven Design
Architectural Patterns
IT/Ops
Kubernetes
Docker
GitHub
Terraform
Continuous Delivery
Continuous Integration
Database Administration
Computer Networking
Operating Systems
IT Certifications
Security
Network Security
Application Security
Incident Response
Zero Trust Model
Disaster Recovery
Penetration Testing / Ethical Hacking
Governance
Malware
Security Architecture
Security Engineering
Security Certifications
Design
Web Design
Graphic Design
Interaction Design
Film & Video
User Experience (UX)
Design Process
Design Tools
Business
Agile
Project Management
Product Management
Marketing
Human Resources
Finance
Team Management
Business Strategy
Digital Transformation
Organizational Leadership
Soft Skills
Professional Communication
Emotional Intelligence
Presentation Skills
Innovation
Critical Thinking
Public Speaking
Collaboration
Personal Productivity
Confidence / Motivation
Features
All features
Verifiable skills
AI Academy
Courses
Certifications
Interactive learning
Live events
Superstreams
Answers
Insights reporting
Radar Blog
Buy Courses
Plans
Sign In
Try Now
O'Reilly Platform
book
러닝 SQL: 데이터 생성, 검색, 조작까지 데이터 제대로 주무르기
by
류수미
,
송희정
,
앨런 볼리외
March 2021
Beginner to intermediate
456 pages
12h 49m
Korean
Hanbit Media, Inc.
Content preview from
러닝 SQL: 데이터 생성, 검색, 조작까지 데이터 제대로 주무르기
132
러닝 SQL
address
테이블에
599
명의 고객과
603
개 행만 있는데, 결과가 어떻게
361
,
197
개 행이 되었
을까요? 자세히 살펴보면 많은 고객이 동일한 주소를 가지고 있는 것 같습니다. 쿼리가 어떻게
두 테이블을 조인해야 할지 지정하지 않았기 때문에, 데이터베이스 서버는
데카르트 곱
cartesian
product
인 두 테이블의
모든
순열
permutation
(
고객
599
명 × 주소
603
개
=
361197
순열
)
을 생성
했습니다. 이러한 유형의 조인을
교차 조인
cross
join
이라고 하지만 거의 사용하지 않습니다. 교차
조인은
10
장에서 살펴볼 조인 유형 중 하나입니다.
5.1.2
내부
조인
각 고객에 대해 단일 행만 반환하도록 이전 쿼리를 수정하려면, 두 테이블이 어떤 관계인지부
터 확인해야 합니다. 앞서
customer
.
address
_
id
열이 두 테이블의 연결 역할을 했는데, 이
정보를
from
절의 하위절에 추가해야 합니다.
mysql> SELECT c.first_name, c.last_name, a.address
-> FROM customer c JOIN address a
-> ON c.address_id = a.address_id;
+-------------+--------------+----------------------------------------+ ...
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.
Start your free trial
You might also like
클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구
정기훈, 디네시 G. 더트
스파크를 활용한 실시간 처리: 실시간 데이터 처리를 위한 고수준 스트리밍 API 마스터하기
김인범, 제러드 마스, 프랑수아 가릴로
데이터 과학을 위한 통계: 데이터 분석에서 머신러닝까지 50가지 핵심 개념
이준용, 피터 브루스, 앤드루 브루스
한 권으로 끝내는 Node & Express(2판): 모던 웹을 위한 서버 사이드 자바스크립트의 모든 것
한선용, 이선 브라운
Publisher Resources
ISBN: 9791162244074