• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in Salesforce by
Q:
What is the Syntax of SOQL Statement?

1 Answer

0 votes
by
Syntax -

1

SELECT field1, field2,.... FROM Object_Type [WHERE condition]

Example:-Queries

1

2

List accountList =  [SELECT ID, Name, FROM Account];

List accountList = [SELECT ID, Name, FROM Account WHERE annual revenue<10000];

Related questions

0 votes
asked Sep 24, 2019 in Salesforce by Robin
0 votes
asked Sep 23, 2019 in Salesforce by john ganales
...