DB (2) 썸네일형 리스트형 [ SQLite ] table 보기, table 구조 보기 1. SQLite 시작하기 # sqlite3 example.db 2. db 보기 현재 사용하고 있는 데이터베이스를 확인한다.sqlite> .databasemain: /home/ubuntu/db/main.db 3. table 보기 현재 사용하고 있는 데이터베이스에 있는 table을 모두 보여 준다.sqlite> .tablestable1 table2 4. table 구조 보기 sqlite> .schemaCREATE TABLE tabl31( id, column1 text, column2 text);CREATE TABLE table2( id, column1 text, column2 text); 5. 종료 하기sqlite> .quit Ubuntu에 SQLite 설치하기 1. sqlite3 설치 전 패키지 update and upgrade john@gpjigi.co.kr$ sudo apt update && sudo apt upgrade 2. sqlite3 설치하기 john@gpjigi.co.kr$ sudo apt install sqlite3 3. version 확인 john@gpjigi.co.kr$ sqlite3 --version Table, Table 구조 https://sosodev.tistory.com/entry/DB-Sqlite-table-%EB%B3%B4%EA%B8%B0-table-%EA%B5%AC%EC%A1%B0-%EB%B3%B4%EA%B8%B0 DB > Sqlite > table 보기, table 구조 보기 1. db 보기 현재 사용하고 있는 데이터베이스를 .. 이전 1 다음