-
level 2. 이름에 el이 들어가는 동물 찾기SQL/SQL 연습문제 풀이 2022. 1. 16. 21:50반응형
https://programmers.co.kr/learn/courses/30/lessons/59047
-- MySQL SELECT ANIMAL_ID, NAME FROM ANIMAL_INS WHERE NAME LIKE "%el%" AND ANIMAL_TYPE='Dog' ORDER BY NAME
-- Oracle, MySQL SELECT ANIMAL_ID, NAME FROM ANIMAL_INS WHERE lower(NAME) LIKE '%el%' AND ANIMAL_TYPE='Dog' ORDER BY NAME
반응형