본문 바로가기

RE:cord

검색하기
RE:cord
프로필사진 beie

  • 전체 (20)
    • SQL (16)
    • My Python (1)
    • Study (0)
    • ARchive (1)
    • 프로젝트 캠프 : IT 서비스 기획 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/06   »
일 월 화 수 목 금 토
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30
Tags
  • union
  • S/4 HANA
  • SQL
  • DateDiff
  • 중복 컬럼
  • %_%
  • desc
  • order by
  • SERVICE_KEY_IS_NOT_REGISTERED_ERROR
  • join
  • CSV
  • r/2
  • SAP HANA
  • left join
  • group by
  • ERP
  • Where
  • stratascratch
  • spa
  • 티스토리챌린지
  • between
  • 오블완
  • 공공데이터
  • dense_rank()
  • over()
  • limit
  • asc
  • json
  • R/3
  • HAVING
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록%_% (1)

RE:cord

[SQL] Search for Data Containing Keywords (WHERE LIKE '%A%')

SELECT *FROM moviesWHERE title LIKE 'Christmas' OR title LIKE 'Santa';  * 정확하게 'Christmas' or 'Santa'가 title이어야 출력.    It would be out if the title is 'Christmas' or 'Santa'.   SELECT *FROM moviesWHERE title LIKE '%Christmas%' OR title LIKE '%Santa%';  * 'Christmas' or 'Santa'가 title에 포함되어 있으면 출력.    It would be out if the title contained 'Christmas' or 'Santa.'

SQL 2024. 12. 3. 14:54
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바