Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- eda
- SKU Consolidation
- ProfileReport
- MS SQL Server
- HackerRank
- oracle
- tensorflow
- 코딩테스트연습
- 웨어하우스 보관 최적화
- Product Demand
- ModelCheckPoint
- 데이터분석
- kaggle
- 파이썬
- 프로그래머스
- pandas profiling
- leetcode
- forecast
- Inventory Optimization
- 당신의 인생이 왜 힘들지 않아야 한다고 생각하십니까
- 피그마인디언
- ABC Analysis
- TensorFlowGPU
- MySQL
- 코딩테스트
- Gaimification
- 딥러닝
- 신경쓰기의 기술
- SQL
- Labor Management System
Archives
- Today
- Total
오늘도 배운다
1527. Patients With a Condition / LeetCode, SQL, MySQL 본문
코딩테스트연습(SQL)
1527. Patients With a Condition / LeetCode, SQL, MySQL
LearnerToRunner 2023. 3. 11. 01:28문제
source: LeetCode
Write an SQL query to report the patient_id, patient_name and conditions of the patients who have Type I Diabetes. Type I Diabetes always starts with DIAB1 prefix.
Return the result table in any order.
제출답안(MySQL)
SELECT patient_id, patient_name, conditions
FROM patients
WHERE conditions REGEXP'^DIAB1|.* DIAB1|DIAB1$'
문제 바로가기(MySQL)
728x90
'코딩테스트연습(SQL)' 카테고리의 다른 글
262. Trips and Users / LeetCode, SQL, MySQL (0) | 2023.03.14 |
---|---|
607. Sales Person / LeetCode, SQL, MySQL (0) | 2023.03.13 |
1393. Capital Gain/Loss / Leet Code, SQL, MySQL (0) | 2023.03.10 |
626. Exchange Seats / LeetCode, SQL, MySQL (0) | 2023.03.10 |
1158. Market Analysis I / LeetCode, SQL, MySQL (0) | 2023.03.06 |
Comments