select distinct(a.usrName),b.ydh from T_EmpUsr_Msg a ,T_EmpUsr_dnbMsg b where a.ydh=b.ydh  and b.T_Line_Code='001'
这条语句的执行时间是0.016 s 左右,能不能让其时间在小点,索引作了,现在主要是靠改变sql语句来提高效率