본문 바로가기
카테고리 없음

[MYSQL] select EXISTS (select * from 테이블이름 where 컬럼=찾는 값 limit 1) as success;

by java나유 2022. 7. 13.

필드에 데이터가 있는지 없는지 확인하는 코드

select EXISTS (select * from info where liner4!='') as success;

728x90

댓글