반응형
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
- hive
- Google Excel
- 파이썬
- dataframe
- Kotlin
- list
- numpy
- gas
- SQL
- Github
- Java
- math
- Excel
- c#
- django
- Python
- Mac
- PostgreSQL
- Tkinter
- matplotlib
- google apps script
- PySpark
- Apache
- GIT
- Google Spreadsheet
- PANDAS
- Redshift
- array
- string
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