create table 테이블( 컬럼 int(10) not null auto_increment primary key );
[카테고리:] 공부
[MySQL] SELECT : 특정 값 제외하기
select * from 테이블 where 컬럼 not in ( "값" );
[MySQL] SELECT : 커스텀 정렬
select * from 테이블 order by field( 컬럼, '값', '값', '값' );
create table 테이블( 컬럼 int(10) not null auto_increment primary key );
select * from 테이블 where 컬럼 not in ( "값" );
select * from 테이블 order by field( 컬럼, '값', '값', '값' );