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
- for
- DB
- DS
- DoM
- Java
- system
- Pipelining
- MIPS
- Class
- function
- mysql
- javascript
- instruction
- python
- XML
- DATAPATH
- data structure
- computer
- MacOS
- control
- while
- Algorithm
- web
- php
- html
- architecture
- Linux
- CSS
- react
- github
Archives
- Today
- Total
목록ddl (1)
YYYEJI
[MySQL] DDL이란?
DDL이란? ✓ Data Definition Language ✓ 필드 타입 • 정수형 - tinyint, smallint, int • 실수형 - decimal, float, double • 문자형 - char(n), varchar(n), text • 날짜형 - date, time, date time, timestamp char(n) vs varchar(n) • char(n) - n만큼 데이터 공간 고정해 놓는다. • varchar(n) - n은 max 데이터 공간으로 데이터의 공간이 가변적으로 줄었다 늘었다할 수 있다. 예제를 살펴봅시다. CREATE TABLE tablename{ column1 int auto_increment, column1 datatype, column2 datatype not nu..
Database & SQL
2022. 10. 26. 11:36