일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 모두의딥러닝
- fasttext text classification 한글
- 파이썬을 파이썬답게
- 정보처리기사전공자합격후기
- How Much Knowledge Can You Pack Into the Parameters of a Language Model?
- classification text
- 딥러닝기초
- 자연어처리 논문 리뷰
- 다이나믹 프로그래밍
- DST zeroshot learning
- 데이터 합성
- few shot dst
- From Machine Reading Comprehension to Dialogue State Tracking: Bridging the Gap
- 2020정보처리기사필기
- 정보처리기사 책 추천
- Zero-shot transfer learning with synthesized data for multi-domain dialogue state tracking
- nlp논문리뷰
- MySQL
- 검색엔진
- til
- 프로그래머스
- 정보처리기사전공자
- DST fewshot learning
- SUMBT:Slot-Utterance Matching for Universal and Scalable Belief Tracking
- Few Shot Dialogue State Tracking using Meta-learning
- 백준
- dialogue state tracking
- 정보처리기사 수제비
- Python
- Leveraging Slot Descriptions for Zero-Shot Cross-Domain Dialogue State Tracking
Archives
- Today
- Total
🌲자라나는청년
MySQL 공부4(LIMIT, MIN, MAX, COUNT, AVG, SUM) 본문
반응형
LIMIT
used to specify the number of records to return.
Country 가 Germany 인 customer의 정보를 3개만 가져오기
SELECT * FROM Customer WHERE Country='Germany' LIMIT 3;
MIN and MAX
used to specify the number of records to return.
product 에서 가장 가격이 가장 큰것 고르기
SELECT MAX(Price) AS LargestPrice FROM Products;
product 에서 가격이 가장 작은것 고르기
SELECT MIN(price) AS LowestPrice FROM Products;
COUNT, AVG, SUM
The COUNT() function returns the number of rows that matches a specified criteria.
The AVG() function returns the average value of a numeric column.
The SUM() function returns the total sum of a numeric column.
product 테이블에서 product의 갯수 세기
SELECT COUNT (ProductID) FROM Products;
product 테이블에서 가격의 평균내기
SELECT AVG(price) FROM Products;
OrderDetail 테이블에서 수량의 합 가져오기
SELECT SUM(Quantity) FROM OrderDetails
반응형
'DataBase' 카테고리의 다른 글
MySQL 공부5(IN, BETWWEN) (0) | 2019.05.03 |
---|---|
My SQL 공부 3(UPDATE, DELETE) (0) | 2019.05.02 |
My SQL 공부 2(ORDER, INSERT, NULL) (0) | 2019.05.02 |
My SQL 공부1(SLEECT, FROM, WHERE) (0) | 2019.05.02 |