请教sql语句,像select …from wsdy_zb t where t.id =:id order by no desc 中t.id =:id

问题描述:

请教sql语句,像select …from wsdy_zb t where t.id =:id order by no desc 中t.id =:id

select …from
wsdy_zb t where t.id =:id order by no desc 中t.id =:id
t.id =:id
t.id 是 wsdy_zb 表中的字段id
:id是参数