文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>用sql语句取一个字段的年,月,日的方法

用sql语句取一个字段的年,月,日的方法

时间:2008-05-14  来源:dijiaquan

SELECT date_format(c.customers_dob, "%Y") as customers_dob_year, date_format(c.customers_dob, "%m") as customers_dob_month, date_format(c.customers_dob, "%d") as customers_dob_date FROM table c ;
相关阅读 更多 +
排行榜 更多 +
蛋花

蛋花

浏览阅读 下载
馅饼跑步者

馅饼跑步者

休闲益智 下载
王牌大头兵

王牌大头兵

动作格斗 下载