现在我在postgresql 中已经创建了一个索引CREATE INDEX test_noticetable ON noticepaddefinfo
(placeid,structureid,delflag,teamid,projectid)我要在以下sql语句中使用,请问怎么用?
select
noticepadid,noticepadname,notenum,unclosenum,updateday,deleteupdate,whetherclose,statusdef,templatename,delflag,originalname
from noticepaddefinfo
where placeid=‘hh’ and structureid='aa' and delflag ='0' and teamid='kk' and projectid='jj' order by noticepadid即postgresql中索引在select语句中的使用方法
(placeid,structureid,delflag,teamid,projectid)我要在以下sql语句中使用,请问怎么用?
select
noticepadid,noticepadname,notenum,unclosenum,updateday,deleteupdate,whetherclose,statusdef,templatename,delflag,originalname
from noticepaddefinfo
where placeid=‘hh’ and structureid='aa' and delflag ='0' and teamid='kk' and projectid='jj' order by noticepadid即postgresql中索引在select语句中的使用方法
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货