DML: SQL 연산자와 내장 함수(1)
- select- from- where- group by- having- order by 연산자 산술 연산자 select 10+3 as addition, //addition이라는 이름의 컬럼에 넣기 10-3 as subtraction, 10*3 as multiplication, 10/3 as division 10 div 3 as 'int division', 10%3 as modulus, 10 mod 3 as 'mod operator', mod (10, 3) as 'mod funnction'; select ID, name, salary, salary/12 as monthly_salaryfrom instructor;비교 연산자 select name, salaryfrom..
2025. 4. 13.