文章详情

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

水杯排排乐

休闲益智 下载
仓库猎手模拟器

仓库猎手模拟器

休闲益智 下载
parkmaster

parkmaster

休闲益智 下载