문자나 숫자를 디테일하게 다뤄 봅시다.
select length('abcde');
select concat('a','b','c');
select locate('12','ab1234');
select left('Crosstar\'s drawer', 8);
select right('Crosstar\'s drawer', 8);
select lower('CROSSSTAR');
select replace('creepy cream', 'creepy', 'crispy')
select TRIM(' crosstar '),
trim(leading '#' from '###crosstar###'),
trim(trailing '#' from '###crosstar###');
#금액 표기법으로 변경& 소수점 둘째자리까지 반올림
select format(100000000.123, 2);
select floor(5.5), ceil(5.5), round(5.5);
select sqrt(9), pow(2,2), exp(2), log(exp(1)), sin(pi()/2), cos(pi()), tan(pi()/4), abs(-10), round(rand()*100, 0);