일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- stak
- affine
- Stack
- dl
- sort
- MySQL
- Word2vec
- 프로그래머스
- CBOW
- 딥러닝
- FullyConnectedLayer
- kakao
- SQL
- que
- Programmers
- 신경망
- algorithm
- Numpy
- boj
- 파이썬
- skip-gram
- hash
- backward
- Python
- 자연어처리
- select
- DeepLearning
- PPMI
- Heap
- Sigmoid
Archives
- Today
- Total
혜온의 이것저것
[Programmers] 코딩테스트 연습 SQL - level4 본문
우유와 요거트가 담긴 장바구니
https://programmers.co.kr/learn/courses/30/lessons/62284
SELECT cart_id
from cart_products
where name = 'Yogurt' and
cart_id in (select cart_id from cart_products where name = 'Milk')
입양 시각 구하기
https://programmers.co.kr/learn/courses/30/lessons/59413
set @hour:=-1;
select (@hour:=@hour+1) as hour,
(select count(ao2.animal_id) from animal_outs ao2 where hour(ao2.datetime)=@hour) as count
from animal_outs ao
where @hour <23
order by @hour
보호서에서 중성화한 동물
https://programmers.co.kr/learn/courses/30/lessons/59045
select ai.animal_id, ai.animal_type, ai.name
from animal_ins ai, animal_outs ao
where ai.animal_id = ao.animal_id
and ai.sex_upon_intake <> ao.sex_upon_outcome
order by ai.animal_id
'Data Analysis > SQL' 카테고리의 다른 글
[HackerRank] Revising the Select Query II (MySQL) (0) | 2022.08.03 |
---|---|
[HackerRank] Revising the Select Query I (MySQL) (0) | 2022.08.03 |
[Programmers] 코딩테스트 연습 SQL - level3 (0) | 2022.04.13 |
[Programmers] 코딩테스트 연습 SQL - level2 (0) | 2022.03.22 |
[Programmers] 코딩테스트 연습 SQL - level1 (0) | 2022.03.17 |
Comments