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: 데이터 생성, 검색, 조작까지 데이터 제대로 주무르기
38
러닝 SQL
SELECT cust_id, fname
FROM individual
WHERE lname = 'Smith';
이 쿼리는
lname
열이 문자열
'
Smith
'
와 일치하는 모든 행을
individual
테이블에서 검색
하고 해당 행에서
cust
_
id
및
fname
열을 반환합니다.
데이터베이스 쿼리와 더불어, 대부분의 작업은 데이터베이스의 데이터를 채우고 수정하는 것과
관련이 있습니다.
product
테이블에 새 행을 추가하는 간단한 예제 쿼리는 다음과 같습니다.
INSERT INTO product (product_cd, name)
VALUES ('CD', 'Certificate of Depysit')
이때 만약 ‘
Deposit
’의 철자가 틀렸더라도 당황하지 않고
update
문으로 해결할 수 있습니다.
UPDATE product
SET name = 'Certificate of Deposit'
WHERE product_cd = 'CD';
update
문에는
select
문과 마찬가지로
where
절이 포함됩니다.
update
문에서도 수정될 행
을 식별해야 하기 때문입니다. 여기에서는
product
_
cd
열이 문자열
'
CD
'
와 일치하는 행만 수
정하도록 지정합니다.
product
_
cd
열은 제품 테이블의 기본 키이므로
update
문이 정확하게
하나의 행
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