MySQL 91

[LeetCode] 608. Tree Node

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 리트코드 Problems, https://leetcode.com/problemset/all/임을 밝힙니다. ✔ 문제 https://leetcode.com/problems/tree-node/ Tree Node - LeetCode Can you solve this real interview question? Tree Node - Table: Tree +-------------+------+ | Column Name | Type | +-------------+------+ | id | int | | p_id | int | +-------------+------+ id is the primary key column for this table. Each row ..

[LeetCode] 602. Friend Requests II: Who Has the Most Friends

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 리트코드 Problems, https://leetcode.com/problemset/all/임을 밝힙니다. ✔ 문제 https://leetcode.com/problems/friend-requests-ii-who-has-the-most-friends/description/ Friend Requests II: Who Has the Most Friends - LeetCode Can you solve this real interview question? Friend Requests II: Who Has the Most Friends - Table: RequestAccepted +----------------+---------+ | Column Name | Ty..

[LeetCode] 601. Human Traffic of Stadium

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 리트코드 Problems, https://leetcode.com/problemset/all/임을 밝힙니다. ■ 문제 https://leetcode.com/problems/human-traffic-of-stadium/description/ Human Traffic of Stadium - LeetCode Can you solve this real interview question? Human Traffic of Stadium - Table: Stadium +---------------+---------+ | Column Name | Type | +---------------+---------+ | id | int | | visit_date | date | ..

[LeetCode] 577. Employee Bonus

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 리트코드 Problems, https://leetcode.com/problemset/all/임을 밝힙니다. ■ 문제 https://leetcode.com/problems/employee-bonus/ Employee Bonus - LeetCode Can you solve this real interview question? Employee Bonus - Table: Employee +-------------+---------+ | Column Name | Type | +-------------+---------+ | empId | int | | name | varchar | | supervisor | int | | salary | int | +------..

[LeetCode] 585. Investments in 2016

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 리트코드 Problems, https://leetcode.com/problemset/all/임을 밝힙니다. ■ 문제 https://leetcode.com/problems/investments-in-2016/description/ Investments in 2016 - LeetCode Can you solve this real interview question? Investments in 2016 - Table: Insurance +-------------+-------+ | Column Name | Type | +-------------+-------+ | pid | int | | tiv_2015 | float | | tiv_2016 | float | ..

[LeetCode] 570. Managers with at Least 5 Direct Reports

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 리트코드 Problems, https://leetcode.com/problemset/all/임을 밝힙니다. ■ 문제 https://leetcode.com/problems/managers-with-at-least-5-direct-reports/description/ Managers with at Least 5 Direct Reports - LeetCode Can you solve this real interview question? Managers with at Least 5 Direct Reports - Level up your coding skills and quickly land a job. This is the best place to expand..

[LeetCode] 550. Game Play Analysis IV

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 리트코드 Problems, https://leetcode.com/problemset/all/임을 밝힙니다. ■ 문제 https://leetcode.com/problems/game-play-analysis-iv/description/ Game Play Analysis IV - LeetCode Can you solve this real interview question? Game Play Analysis IV - Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next intervi..

[프로그래머스] 조건에 맞는 사용자와 총 거래금액 조회하기

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 프로그래머스 코딩테스트 연습, https://school.programmers.co.kr/learn/challenges?page=1&languages=mysql%2Coracle임을 밝힙니다. · 본 문제 https://school.programmers.co.kr/learn/courses/30/lessons/164668 ■ 문제 문제 설명 다음은 중고 거래 게시판 정보를 담은 USED_GOODS_BOARD 테이블과 중고 거래 게시판 첨부파일 정보(자체수정) 작성자 정보를 담은 USED_GOODS_FILE 테이블입니다. USED_GOODS_BOARD 테이블은 다음과 같으며 BOARD_ID, WRITER_ID, TITLE, CONTENTS, PRICE, CR..

[DATA ON AIR/ 퀴즈로 배우는 SQL] 연속된 날짜를 하나의 그룹으로 표현해보자

본 문제는 한국데이터산업진흥원 DATA ON-AIR에서 '기술자료'로 제공하는 SQL 퀴즈입니다. https://dataonair.or.kr/db-tech-reference/d-lounge/technical-data/?pageid=4&mod=document&keyword=%ED%80%B4%EC%A6%88&uid=236593 퀴즈로 배우는 SQL - 연속된 날짜를 하나의 그룹으로 표현해보자 ◎ 연재기사 ◎ ▶ 퀴즈로 배우는 SQL - 연속된 날짜를 하나의 그룹으로 표현해보자 ▷ 퀴즈로 배우는 SQL - IP 목록 정렬하기 ▷ 퀴즈로 배우는 SQL - IP 목록 정렬하기Ⅱ ▷ 퀴즈로 배우는 SQL, 조건 dataonair.or.kr 연속된 날짜를 하나의 그룹으로 표현해보자 문제 번호와 날짜를 가진 테이블( ..

[프로그래머스] 조건에 맞는 사용자 정보 조회하기

📢 본 포스팅에 활용되는 기본 문제 및 자료 출처는 프로그래머스 코딩테스트 연습, https://school.programmers.co.kr/learn/challenges?page=1&languages=mysql%2Coracle임을 밝힙니다. · 본 문제 https://school.programmers.co.kr/learn/courses/30/lessons/164670 ■ 문제 문제 설명 다음은 중고 거래 게시판 정보를 담은 USED_GOODS_BOARD 테이블과 중고 거래 게시판 첨부파일 정보를 담은 USED_GOODS_USER 테이블입니다. USED_GOODS_BOARD 테이블은 다음과 같으며 BOARD_ID, WRITER_ID, TITLE, CONTENTS, PRICE, CREATED_DATE, S..