# SQL이란?

SQL(Strutured Query Langauge)은 일반적으로 데이터베이스에서 원하는 값을 가져오거나 수정하는 등 데이터베이스와 상호작용하기 위한 작은 언어 입니다.

SQL은 표준화되어 하나의 DB를 정하고 SQL을 배우면, 나중에 다른 DB를 이용하더라도 쉽게 적응하여 사용할 수 있습니다.

## 데이터 분석을 위한 SQL

최근 퍼포먼스 마케팅, 그로쓰해킹 등 대용량의 데이터를 가공하여 의사결정을 하는 트렌드가 있습니다. 엑셀로 수백만 row의 데이터를 분석하기엔 어렵지만, SQL로 한다면 1초만에 데이터를 뽑아낼 수 있습니다.

## 쿼리문 기본

쿼리문의 대표적인 카테고리를 나눠보면 아래와 같습니다.

* INSERT : 신규 데이터 추가
* UPDATE : 기존 데이터 수정
* SELECT : 데이터 열람
* DELETE : 데이터 삭제

데이터 분석에 유일하게 필요한 것은 **SELECT** 입니다. SELECT문을 통해 데이터를 어떻게 가공하여 가져올지를 명시할 수 있습니다.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.ducksql.com/sql/sql.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
