龙之家园  
我的博客我做主!

2007年1月8日

摘要: --1、查找员工的编号、姓名、部门和出生日期,如果出生日期为空值, --显示日期不详,并按部门排序输出,日期格式为yyyy-mm-dd。 select emp_no ,emp_name ,dept , isnull(convert(char(10),birthday,120),'日期不详') birthday from employee order by dept --2、查找与喻自... 阅读全文
posted @ 2007-01-08 11:53 zhengfeng 阅读(268) 评论(0) 推荐(0)