use zerobase;
insert into celeb values (1, '아이유','1993-05-16',29,'F','가수, 탤런트','EDAM엔터테이먼트');
insert into celeb values (2, '이미주','1994-09-23',29,'F','가수','울림엔터테이먼트');
insert into celeb values (3, '송강','1994-04-23',28,'M','배우','나무엑터스');
insert into celeb values (4, '강동원','1981-01-18',41,'M','배우, 탤런트','YG엔터테이먼트');
insert into celeb values (5, '유재석','1972-08-14',50,'M','MC, 개그맨','안테나');
insert into celeb values (6, '차승원','1970-06-07',48,'M','배우, 모델','EDAM엔터테이먼트');
insert into celeb values (7, '이수현','1999-05-04',29,'F','가수','EDAM엔터테이먼트');
select col1, col2, ...
from tablename
order by col1, col2, ... ASC | DESC;
select name, age from celeb where age=29 order by age;
select name, age from celeb where age!=29 order by age;
select name, age from celeb where age>29 order by age;
select name, age from celeb where age<=29 order by age;
select name, age from celeb where age<>29 order by age;