SOQL
|
SOSL
|
SOQL is used if we know in which object the data is present. | SOSL is used if we don't know in which object the data is present. |
In SOQL we can query data from single object and as well as multiple objects. In case of multiple objects the objects should have some relationship between them. | In SOSL we can search data from multiple objects even if there is no relationship among the obejects. |
Cheers!!!
No comments:
Post a Comment