Mysql 데이터베이스 추가, 삭제
DB(데이터베이스) > Table(테이블) > Column(컬럼) DB(데이터베이스) 명령어show databases; => DB 목록 출력create database DB명; => DB 생성use DB명; => 사용할 DB 선택drop database DB명; => DB 삭제 Table(테이블) 명령어show tables; => Table 목록 출력create table table명(column명 자료형(크기)); => Table 생성 ex) create table accounts(id char(20), pw char(20));drop table table명; => Table 삭제 Column(컬럼) 명령어select 가져올 Column명 from 가져올 컬럼이 있는 Table명 where 조건문; =..
Web
2016. 2. 15. 14:51