'Calculation'에 해당되는 글 1건

  1. 2011.08.26 Data Calculation 12 + 1 = 13? by CEOinIRVINE

Data Calculation 12 + 1 = 13?

IT 2011. 8. 26. 03:19



mysql> SELECT name, birth FROM pet
-> WHERE MONTH(birth) = MONTH(DATE_ADD(CURDATE(),INTERVAL 0 MONTH));

...so that the output will be "this week", rather than "this month"?


'IT' 카테고리의 다른 글

Counting Rows  (0) 2011.08.26
Pattern Matching  (0) 2011.08.26
2011-08-25 Date Calculations  (0) 2011.08.26
mysql  (0) 2011.08.25
3.7. SYSTEM PERFORMANCE COUNTERS  (0) 2011.08.25
Posted by CEOinIRVINE
l