Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 공공데이터
- left join
- Where
- HAVING
- 중복 컬럼
- R/3
- stratascratch
- S/4 HANA
- over()
- spa
- desc
- 오블완
- CSV
- join
- order by
- SQL
- json
- %_%
- limit
- asc
- ERP
- DateDiff
- union
- SAP HANA
- dense_rank()
- group by
- r/2
- 티스토리챌린지
- SERVICE_KEY_IS_NOT_REGISTERED_ERROR
- between
Archives
- Today
- Total
RE:cord
[SQL] Search for Data Containing Keywords (WHERE LIKE '%A%') 본문
SELECT *
FROM movies
WHERE title LIKE 'Christmas' OR title LIKE 'Santa';
* 정확하게 'Christmas' or 'Santa'가 title이어야 출력.
It would be out if the title is 'Christmas' or 'Santa'.
SELECT *
FROM movies
WHERE title LIKE '%Christmas%' OR title LIKE '%Santa%';
* 'Christmas' or 'Santa'가 title에 포함되어 있으면 출력.
It would be out if the title contained 'Christmas' or 'Santa.'