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
- 방화벽
- String Function and Operators
- Date and Time Function
- Sring Functions and Operators
- String Functions and Date Operators
- 전자정부표준프레임워크
- 오라클
- 윈도우
- String Functions and Operators
- Data and Time Functions
- MySQL
- Tibero
- 전자정부 표준프레임워크
- SVN
- HTTP
- Oracle
- 티베로
- Date and Time Functions
Archives
- Today
- Total
웹이야기
MySQL FLOOR() 본문
FLOOR(X)
Returns the largest integer value not greater than X.
mysql> SELECT FLOOR(1.23), FLOOR(-1.23) ;
+-------------+--------------+
| FLOOR(1.23) | FLOOR(-1.23) |
+-------------+--------------+
| 1 | -2 |
+-------------+--------------+
1 row in set (0.00 sec)
mysql> SELECT CEIL(1.23) ;
+------------+
| CEIL(1.23) |
+------------+
| 2 |
+------------+
1 row in set (0.00 sec)
CEIL() 참조
MySQL CEIL(), CEILING()
CEIL(X) CEIL() is a synonym for CEILING() CEILING(X) Returns the smallest integer value not less than X. mysql> SELECT CEILING(1.1) ; +--------------+ | CEILING(1.1) | +--------------+ | 2 | +------..
webobj.tistory.com
'D > MySQL' 카테고리의 다른 글
| MySQL RAND() (0) | 2020.03.26 |
|---|---|
| MySQL MOD() (0) | 2020.03.26 |
| MySQL CONV() (0) | 2020.03.26 |
| MySQL CEIL(), CEILING() (0) | 2020.03.26 |
| MySQL ABS() (0) | 2020.03.26 |
Comments