摘要:
--1、查找员工的编号、姓名、部门和出生日期,如果出生日期为空值,--显示日期不详,并按部门排序输出,日期格式为yyyy-mm-dd。select emp_no ,emp_name ,dept , isnull(convert(char(10),birthday,120),'日期不详') birthdayfrom employeeorder by dept--2、查找与喻自强在同一个单位的员工姓名、性别、部门和职称select emp_no,emp_name,dept,titlefrom employeewhere emp_name<>'喻自强' a 阅读全文
posted @ 2007-03-06 13:12 且行且思 阅读(470) 评论(0) 推荐(0)
浙公网安备 33010602011771号