<br /><div style="color: #333333; font-family: Arial, MingLiU, PMingLiU; font-size: 13px; font-weight: normal; line-height: 1.5em; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-break: break-all;">'使用"in" 搜尋</div><div style="color: #333333; font-family: Arial, MingLiU, PMingLiU; font-size: 13px; font-weight: normal; line-height: 1.5em; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-break: break-all;">select * from xxx where 欄位1 in('xx1','xx2','xx3'.......)</div><div style="color: #333333; font-family: Arial, MingLiU, PMingLiU; font-size: 13px; font-weight: normal; line-height: 1.5em; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-break: break-all;">取代了</div><div style="color: #333333; font-family: Arial, MingLiU, PMingLiU; font-size: 13px; font-weight: normal; line-height: 1.5em; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-break: break-all;">select * from xxx where 欄位1='xx1' or 欄位1='xx2'........</div><div style="color: #333333; font-family: Arial, MingLiU, PMingLiU; font-size: 13px; font-weight: normal; line-height: 1.5em; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-break: break-all;">更好用的是可以配合使用次查詢</div><div style="color: #333333; font-family: Arial, MingLiU, PMingLiU; font-size: 13px; font-weight: normal; line-height: 1.5em; list-style-image: initial; list-style-position: initial; list-style-type: none; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 1em; padding-left: 0px; padding-right: 0px; padding-top: 0px; word-break: break-all;">select * from xxx where 欄位1 in(select 欄位1 from xxx2 where.....)</div><div class="blogger-post-footer"><img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3873235462355831091-3103437183670690769?l=colud77.blogspot.com' alt='' /></div>