有没有更好的方法来编写此SQL查询?

jr3*_*jr3 3 t-sql sql-server

我想要返回最大的create_dt行.这工作正常,但我想知道是否有更合适的方法这样做?

select * from 
table1 
where job_no='101047' 
and 
create_dt in
     (select max(create_dt) from    
      table1 where job_no='101047')
Run Code Online (Sandbox Code Playgroud)

Dus*_*sty 15

怎么样:

Select top 1 *
from table1
where job_no = '101047'
order by create_dt desc
Run Code Online (Sandbox Code Playgroud)