摘要: select * from 表 p where p.gender '男' and floor(months_between(sysdate, p.Birthday) / 12) = 15select * from table p where p.gender='女' and floor(months_between(sysdate, p.Birthday)/12)15查询出所有年龄在15~49岁的非男性的信息 阅读全文
posted @ 2013-08-07 11:30 艺言弈行 阅读(3009) 评论(0) 推荐(0) 编辑