CH4)select,insert, update,delete

김지율·2024년 2월 4일
0

데이터분석

목록 보기
5/25

#1. insert
insert into table name (컬럼1,2..)values(실제값1,2)
컬럼순서대로 실제 값은 맞춰줘야함
모든 컬럼을 넣을 경우는 컬럼 생략 가능 (but table 생성시 컬럼순서대로 전체 데이터를 넣어줘야함)

#2. select
select 컬럼(*전체) from table name

#3. where
select 컬럼 from tablename where 조건

#4.update
update tablename set 컬럼1=1, 컬럼2=2,.. where 조건

#5.delete
delete from tablename where 조건

  
profile
김지율

0개의 댓글

관련 채용 정보