본문 바로가기

DB/SQLite

[ SQLite ] Ubuntu에 SQLite 설치하기

반응형

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
반응형