기본형식 SELECT 컬럼 FROM 테이블 [WHERE 조건식] GROUP BY 그룹화할 컬럼 [HAVING 조건식] ORDER BY 컬럼1 [, 컬럼2, 컬럼3 ...]; 📌조건에 맞는 회원수 구하기 #내 코드 SELECT COUNT(*) FROM USER_INFO WHERE AGE BETWEEN 20 AND 29 AND JOINED LIKE '2021%'; #다른 예시 SELECT COUNT(*) AS USERS FROM USER_INFO WHERE AGE >= 20 AND AGE =2 ORDER BY USER_ID , PRODUCT_ID DESC 📌강원도에 위치한 생산공장 목록 출력하기 SELECT FACTORY_ID,FACTORY_NAME,ADDRESS FROM FOOD_FACTORY WHERE ..