Oracle SQL basic rule & order sentence
Oracle SQL basic rule & order sentence
Select | Select 어떤 컬럼을 혹은 *(any column) From 어떤 테이블로 부터 from table name where 어느 조건에서 ? pr_code(Column) like ‘LP%’; | |
Create | Table 생성 | 가로 기준으로, 구조 만듦 |
Alter | Table 수정 | 전반적 구조 수정 (추가/제거) |
Modify | Alter 안에서 사용하는 기능 | 구조의 디테일을 바꾸고 Null/ Not null/ default |
Update | Column 단위의 값을 변경 | Update (어떤 테이블을) Set (column 위치 + 변경 값까지) where (row 위치) |
Insert | Row 단위로 정보를 넣는 것. 한번에 넣기 때문에 효과적으로 Table 내용 채우기 | Insert into 테이블 이름(컬럼명,구분) value (해당 내용,구분) |
*Delete
Comments
Post a Comment