文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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 ;
相关阅读 更多 +
排行榜 更多 +
救救小鱼儿

救救小鱼儿

休闲益智 下载
积木填色

积木填色

休闲益智 下载
警察局逃脱

警察局逃脱

冒险解谜 下载