1.
INSERT INTO topic (title,description,created,author,profile) VALUES('MySQL','MySQL is ...',NOW(),'egoing','developer'); //topic 테이블 각 column에 row 데이터 삽입, id값을 안 넣은 이유는 자동으로 증가하며 삽입,VALUES와 순서 맞춰줘야함, NOW()는 현재
시간 출력 함수
2.
SELECT * FROM topic; //topic 테이블로부터 데이터 가져옴
VALUES값 바꿔 삽입하며 1 -> 2 과정 반복
DB table 생성과 삭제하는 경우는 드물다
INSERT, SELECT 가장 많이 사용되는 명령
go to System Preferences > find MySQL > click Start MySQL Server
open Terminal > type cd /usr/local/mysql/bin/ > type ./mysql -uroot -p > type [password]