반응형
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 | 29 |
30 | 31 |
Tags
- Python
- django
- array
- numpy
- GIT
- list
- Redshift
- SQL
- Google Excel
- Github
- PostgreSQL
- Apache
- Google Spreadsheet
- matplotlib
- Java
- hive
- PANDAS
- Excel
- math
- Mac
- 파이썬
- c#
- Tkinter
- string
- PySpark
- Kotlin
- google apps script
- gas
- dataframe
Archives
- Today
- Total
목록column add (1)
달나라 노트
Redshift : alter table ~ add ~ (column 추가, column 추가하기)
alter table 구문을 이용해서 table에 새로운 컬럼을 추가해봅시다. Syntax alter table (table_name) add (column_name) (data_type) (table_name) = 변경 사항을 적용할 table 이름입니다. (column_name) = 새롭게 추가할 column의 이름입니다. (data_type) = 새롭게 추가할 column의 data type입니다. create table test_schema.test_table ( col1 bigint, col2 varchar(60), col3 date, col4 timestamp ) ; 테스트를 위해 위처럼 test_schema.test_table을 생성합시다. column은 col1, col2, col3, co..
SQL/Redshift
2022. 10. 19. 19:43