select name from info where liner1<>'' and liner2<>'' and liner3<>'' and liner4<>'';
select name from info where liner1!='' and liner2!='' and liner3!='' and liner4!='';
liner1~4까지 전부 데이터가 있는 name을 출력
~이지 않다. !=, <>
728x90
'Database > MySQL' 카테고리의 다른 글
mysql 접속 잘 되어있는지 확인 하는 방법 (0) | 2022.08.01 |
---|---|
[MSSQL] Microsoft SQL Server Managment Studio 서버 세팅 (0) | 2022.08.01 |
[Mysql] select 안에 select (0) | 2022.07.13 |
[Mysql] 한 필드에 있는 여러 이름을 검색할 때는 in (0) | 2022.07.10 |
[Mysql] group by에서 조건 줄때 사용 하는 Having, count(필드명) 자동 null 값은 카운트 하지 않음 (0) | 2022.07.10 |
댓글