일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 포인터
- predictive analysis
- Object Oriented Programming
- 배열
- const
- 함수
- 문자열
- pass by reference
- assignment operator
- Deep Learning
- 오블완
- string
- 백준
- Python
- Data Science
- 파이썬
- array
- programming
- Pre-processing
- 반복문
- 알고리즘
- baekjoon
- C++
- OOP
- pointer
- Class
- vscode
- 티스토리챌린지
- raw data
- function
- Today
- Total
목록2025/04/06 (2)
Channi Studies

AUTO_INCREMENT attribute can be applied to a column that is set as a key. Whenever we insert a new row, the primary key will be populated automatically. Let's re-create the transactions table that we created before. DROP TABLE transactions; CREATE TABLE transactions( transaction_id INT PRIMARY KEY AUTO_INCREMENT, amount DECIMAL(5, 2)); We can verify AUTO_INCREMENT attribute applied in the..

Today I learned PRIMARY KEYS constraint in MySQL.Primary key constraint can be applied to a column where each value in that column must both be unique and not null.It's typically used as a unique identifier. PRIMARY KEYS constraint가 유용할만한 예시를 하나 들어보겠습니다. 대한민국의 출생신고가 된 모든 사람들은 각기 다른 주민등록번호를 가지고 있습니다. 편의를 위해 우리가 대한민국의 모든 사람들의 이름과 주민번호 데이터베이스에 대한 접근 권한이 존재한다고 가정하겠습니다. 이 상황에서 만약에 대한민국에 거주중인 특정 인물 ..