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
- Oracle
- SVN
- HTTP
- Data and Time Functions
- String Functions and Date Operators
- 윈도우
- 전자정부 표준프레임워크
- 전자정부표준프레임워크
- 오라클
- Date and Time Functions
- Sring Functions and Operators
- Date and Time Function
- 티베로
- String Functions and Operators
- Tibero
- MySQL
- 방화벽
- String Function and Operators
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