반응형
250x250
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 |
Tags
- SQL
- 코드잇 TIL
- CSS
- 오늘도코드잇
- numpy
- Seaborn
- 결정트리
- sql연습문제
- 데이터분석
- for반복문
- 코딩
- 다항회귀
- 판다스
- 코딩공부
- 선형회귀
- 머신러닝
- 코딩독학
- 파이썬
- pandas
- HTML
- 코드잇
- 서브쿼리
- 행렬
- 윈도우함수
- 나혼자코딩
- 코드잇TIL
- 경사하강법
- 로지스틱회귀
- 메소드
- matplotlib
Archives
- Today
- Total
목록leftjoin (1)
Coding Diary.
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/bIk8tM/btsHghHdXey/Bput8sokF8ejygp03plC30/img.png)
1) JOIN : 한 번에 둘 이상의 테이블에서 데이터를 가져올 수 있도록 함JOIN 문을 추가하면 ON 문도 추가됨SELECT orders.*, accounts.* #테이블 이름은 항상 마침표 앞/ 열은 항상 마침표 뒤FROM ordersJOIN accountsON orders.account_id = accounts_id;SELECT orders.standard_qty, orders.gloss_qty, orders.poster_qty, accounts.website, accounts.primary_pocFROM ordersJOIN accountsON orders.account_id = accounts.id;SELECT *FROM web_eventsJOIN accountsON web_events.acco..
Coding/SQL
2024. 5. 9. 12:15