본문 바로가기
SQL

DML

by sarah.k 2022. 10. 7.

select distinct

a as " "

from A

where

group by

having

order by a desc ,b asc ;

 

 

group by

count()

count(*)

max()

min()

 

with rollup;

(group by +) having count(*)>=7 ;

 

avg(sum())

floor()

 

inner join A  A'  into B B' on  B' PK =A' FK; 

outer join

 

 

 

 

 

'SQL' 카테고리의 다른 글

DML  (0) 2022.10.05
Alter  (0) 2022.10.05
auto_increment  (0) 2022.10.05
DDL  (0) 2022.10.05