목록2024/07/07 (2)
파란색가운의 개발 블로그
[SQL 고득점 Kit] SUM/MAX/MIN - 가격이 제일 비싼 식품의 정보 출력하기
https://school.programmers.co.kr/learn/courses/30/lessons/131115 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr SELECT *FROM FOOD_PRODUCTWHERE PRICE = (SELECT MAX(PRICE) FROM FOOD_PRODUCT) PRICE가 가장 비싼것을 골라야했다1. 가격 순으로 정렬 후 LIMIT 12. MAX(PRICE)를 서브쿼리에서 선택하고, 그것과 일치하는 행을 선택한다
알고리즘 문제 풀이/프로그래머스
2024. 7. 7. 22:28
[SQL 고득점 Kit] SELECT - 대장균의 크기에 따라 분류하기 1
https://school.programmers.co.kr/learn/courses/30/lessons/299307 프로그래머스코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요.programmers.co.kr 난이도 : 중 CASE문을 처음 봐서 자력으로는 못 풀었다 SELECT ID,CASEWHEN SIZE_OF_COLONY 앞으론 혼자 풀면 되지~ CASE 시작하고 END -> AS " 이름 지정"
알고리즘 문제 풀이/프로그래머스
2024. 7. 7. 22:12