> For the complete documentation index, see [llms.txt](https://docs.sysout.co.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sysout.co.kr/database/oracle/structure-query-language/user-query/manage-data/delete-data.md).

# 데이터 삭제

## 데이터 삭제

데이터 삭제는 `Delete` 명령을 사용하며, 테이블은 select에서 사용한 `Product` 테이블을 그대로 사용한다.

### 형식

```sql
delete [from] 테이블이름 [where 조건];
```

조건은 생략이 가능하지만 생략할 경우 전체 데이터가 삭제되므로 가급적 작성해 주는 것이 좋다.

### 예시

유통기한이 지난 상품 정보 삭제

```sql
delete product where expire < sysdate;
```
