SQL 쉘을 켠다.
테이블 생성
create table 테이블이름(
컬럼명 자료형
컬럼명 자료형
);
select 문
select * from 테이블명
insert 문
insert into user_table( 컬럼1 , 컬럼2 ) values ( 값1 , 값2 );
update 문
update table_name set column1 = 값1 where 조건
delete 문
delete from table_name where 조건
PostgreSQL 에서는 아래 도구를 사용해서 DB를 조작 할 수도 있다.
pgadmin4
'Database | 데이터베이스' 카테고리의 다른 글
azure cosmos db 쿼리 (0) | 2019.06.05 |
---|---|
Maria db 설치하기 (0) | 2018.11.16 |
Mongo DB 기초 (0) | 2018.10.15 |
Mongo DB 쿼리 옵션 lt , lte , gt , gte , in , nin , not (0) | 2018.10.11 |
댓글