목록2025/05 (3)
working_helen

Leetcode 코딩테스트 연습 MySQL Med.1934. Confirmation Rate : The confirmation rate of a user is the number of 'confirmed' messages divided by the total number of requested confirmation messages. The confirmation rate of a user that did not request any confirmation messages is 0. > 존재하지 않는 경우도 결과에 포함하여 출력하는 문제 풀이 1- 서브 쿼리로 원하는 정보를 가진 table 생성한 후 포함되어야 하는 모든 value를 가지고 있는 table과 outer joinselect user..

Leetcode 코딩테스트 연습 MySQL Med.3497. Analyze Subscription Conversion: A subscription service wants to analyze user behavior patterns. The company offers a 7-day free trial, after which users can subscribe to a paid plan or cancel. Find users who converted from free trial to paid subscription. Calculate each user's average daily activity duration during their free trial period. Calculate each user's..

SQL 구문 연습과 함께 데이터베이스와 관련된 개념적인 부분에 대해 공부해본다. 1. Database 2. Phase of DB design 3. Entity-Relationship Model (ER model)4. Relational Model5. SQL 1. Database1) 등장 배경 - Big Data와 Web Scale Computing의 등장으로 대용량 데이터를 효율적으로 관리해야할 필요성이 강화 - 초기 데이터 저장 방식은 File System, 많은 문제점이 존재redundancy : 같은 데이터가 여러 파일에 중복 저장 integrity : integrity가 보장되지 않아 무결성 문제에 취약consistency : atomic update가 불가능concurrent access..