반응형
1. sqlite3 설치 전 패키지 update and upgrade
sudo apt update && sudo apt upgrade
2. sqlite3 설치하기
sudo apt install sqlite3
3. version 확인
sqlite3 --version
4. Table, Table 구조보기
.schema table_name
5. db 보기 현재 사용하고 있는 데이터베이스를 확인한다.
.database
6. table 보기 현재 사용하고 있는 데이터베이스에 있는 table을 모두 보여 준다.
.tables
반응형
'DB > SQLite' 카테고리의 다른 글
[ SQLite ] Table에 새로운 컬럼(column) 추가하기 (0) | 2024.08.15 |
---|---|
[ SQLite ] table 보기, table 구조 보기 (0) | 2021.08.03 |