数据库——查询数据库如何在出生年月日中取年份
摘要:
Year(生日),得到年Month(生日),得到月Day(生日),得到日前提是这个生日是一个日期型字段。查询和学号为108的同学同年出生的所有学生的Sno、Sname和Sbirthday列。select Sno,Sname,Sbirthday from Student where Sbirthday... 阅读全文
posted @ 2016-01-15 23:20 Chen_s 阅读(9647) 评论(0) 推荐(0)
浙公网安备 33010602011771号