반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- string
- Excel
- dataframe
- array
- gas
- Google Excel
- GIT
- Github
- matplotlib
- hive
- PostgreSQL
- django
- Apache
- Kotlin
- 파이썬
- Google Spreadsheet
- Redshift
- google apps script
- PySpark
- Tkinter
- PANDAS
- Mac
- list
- math
- c#
- numpy
- SQL
- Python
- Java
Archives
- Today
- Total
목록INSERT INTO (1)
달나라 노트
Redshift : delete, insert, update (테이블의 데이터 삭제, 삽입, 변경)
delete from syntax delete from table_name where condition; table_name이라는 table에서 명시한 condition이 True인 행(row)들을 삭제합니다. delete from test_table where dy > 20201110; 위처럼 적게되면 test_table에 있는 dy컬럼의 데이터가 20201120보다 큰 값을 가진 행(row)을 모두 삭제하게됩니다. delete from test_table; 만약 조건을 명시하지 않는다면 해당 테이블의 모든 데이터가 지워집니다.(단, 테이블은 그대로 남아있습니다.) insert into syntax insert into table_name values (value1, value2, ...) ; inse..
SQL/Redshift
2021. 6. 16. 12:48