Dev.D

  • 홈
  • 태그
  • 방명록

1일1leetcode 3

1164. Product Price at a Given Date

* ProblemWrite a solution to find the prices of all products on 2019-08-16. Assume the price of all products before any change is 10. Return the result table in any order. The result format is in the following example.Input: Products table:+------------+-----------+-------------+| product_id | new_price | change_date |+------------+-----------+-------------+| 1 | 20 | 2019-08-14 ..

Study - Problems(IT)/LeetCode - SQL 2025.02.17

180. Consecutive Numbers

* ProblemIn SQL, id is the primary key for this table. id is an autoincrement column starting from 1.Find all numbers that appear at least three times consecutively. Return the result table in any order. The result forma is in the following example.Input: Logs table:+----+-----+| id | num |+----+-----+| 1 | 1 || 2 | 1 || 3 | 1 || 4 | 2 || 5 | 1 || 6 | 2 || 7 | 2 |+----+-----..

Study - Problems(IT)/LeetCode - SQL 2025.02.16

1789. Primary Department for Each Employee

* ProblemEmployees can belong to multiple departments. When the employee joins other departments, they need to decide which department is their primary department. Note that when an employee belongs to only one department, their primary column is 'N'.Write a solution to report all the employees with their primary department. For employees who belong to one department, report their only departmen..

Study - Problems(IT)/LeetCode - SQL 2024.11.28
이전
1
다음
더보기
프로필사진

Dev.D

  • 분류 전체보기 (38)
    • Study - IT (1)
      • Architecture (1)
    • Study - Problems(IT) (20)
      • LeetCode - JavaScript (2)
      • LeetCode - SQL (18)
    • Study - Language (9)
      • Dansk (7)
      • Deutsch (1)
      • English (1)
    • Daily (7)

Tag

외국어독학, dansk, sql, 올리브영, 언어독학, mysql, 해외살이, 티스토리챌린지, 베이킹, 글로벌올리브영, ChatGPT, 북유럽언어, 덴마크어, LeetCode, javascript, 독학, 버터쿠키, 오블완, globaloliveyoung, 1일1leetcode,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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
31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바