고수님들 mysql 쿼리좀 알려주세요 상당히 쉬운건데.....
본문
select * from g5_main_img order by img_id 이거인데
만약 한 컬럼에 시퀀스를 제외하고는 값이 없는 상태입니다.
그 컬럼은 가져오고 싶지 않은데 어떻게 해야할까요
where img_file is not null 도 안되구...
where img_file <> null 도 안되구...
정말 모르겠습니다...
답변 3
select * from g5_main_img where img_file <> '' order by img_id ;
이렇게도 해보세요.
select * from g5_main_img where img_file <> '해당깂'
이렇게 하심 됩니다.
감솨 함다.
답변을 작성하시기 전에 로그인 해주세요.