mysql>mysql> SELECT EXTRACT(YEAR_MONTH FROM '1999-07-02 01:02:03');+------------------------------------------------+| EXTRACT(YEAR_MONTH FROM '1999-07-02 01:02:03') |+------------------------------------------------+| 199907 |+------------------------------------------------+1 row in set (0.00 sec)mysql>
Name (required)
email (will not be published) (required)
Website