between

codakcodak·2024년 2월 20일
0

Mysql

목록 보기
8/11

특정값 이상,특정값 이하인 조건

select * from sample where 20<=test_column and test_column<=30

between

  • 특정값 안의 값을 만족시키는 조건에 활용
  • (between a and b)는 a이상,b이하에 속하는지를 판별
select * from sample where test_column between 20 and 30
profile
숲을 보는 코더

0개의 댓글