以下是SQL数据库查询的示例
SELECT *
FROM suppliers
WHERE supplier_name not like 'T%';
Run Code Online (Sandbox Code Playgroud)
此查询将返回supplier_name不以T开头的记录
但是如何在salesforce中实现相同的功能?
没有select*,所以你必须指定要查询的确切字段,然后使用NOT和LIKE,例如
SELECT id,name, otherFields from suppliers where NOT supplier_name like 'T%'
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3269 次 |
| 最近记录: |