选择数据库行值是否与一组字符串匹配的有效方法
SELECT id FROM tablename where
LeadStatus like "%Contact Attempt 1%" or
LeadStatus like "%Contact Attempt 2%" or
LeadStatus like "%Contact Attempt 3%" or
LeadStatus like "%Contact Attempt 4%" or
LeadStatus like "%Contact Attempt 5%" or
LeadStatus like "%Contact Attempt 6%" or
LeadStatus like "%Contact Attempt 7%" or
LeadStatus like "%Call Back/Follow-up%" or
LeadStatus like "%Working%" or
LeadStatus like "%Credit Pulled%" or
LeadStatus like "%Selected other Lender%" or
LeadStatus like "%Pre-Approved%" or
LeadStatus like "%Application Taken/Sent%" or
LeadStatus like "%Application Received%" or
LeadStatus like "%Submitted%" or
LeadStatus like "%Funded%" or
LeadStatus like "%Future Opportunity%" or
LeadStatus like "%Manager Review%"
我觉得很清楚我想要什么?
注意:我无法更改该LeadStatus
值,因为它是从不受我控制的 API 中获取的