Skip to content
choisungwook edited this page May 7, 2022 · 1 revision

테이블 생성

CREATE TABLE projects (
	id serial PRIMARY KEY,
	name VARCHAR ( 50 ) UNIQUE NOT NULL,
    description VARCHAR ( 255 ),
	created_at TIMESTAMP NOT NULL,
    updated_at TIMESTAMP NOT NULL
);

테이블 삭제

DROP TABLE <table이름>;

postgresql

  • DDL
  • DML
  • schemas
Clone this wiki locally