MySQL greatest() Datetime Function Example
Open your MySQL Query Editor then copy & paste the below code to get the value of greatest() MySQL Function Example on datetime value:
select now()-2, now()-1, now()-3, greatest(now()-2, now()-1, now()-3);
MySQL greatest() Datetime Function Example - Result in MySQL Query Editor
Related Tutorial Examples
- MySQL isnull() Function Example
- MySQL least() Function Datetime Value Example
- MySQL least() Function String Value Example
- MySQL least() Function Numeric Value Example
- MySQL now() Datetime Function Example
- MySQL greatest() Function String Value Example
- MySQL Stored Procedure Function: How to Drop a Stored Procedure Example
- Creating a Table(s) with datatype using SQL Command MySQL Example
- Creating Database(s) using SQL Command MySQL Example
- 20 steps to make CakePHP Blog Project

No comments:
Post a Comment
leave your comments here..