Q.What Is Dff b/w For View and For Reference in SOQL?
Ans:
Update objects with information about when they were last viewed or referenced using the FOR VIEW and FOR REFERENCE clauses, respectively. A record is considered viewed when the user sees the details associated with it, but not when the user sees it in a list with other records. A record is considered referenced when a related record is viewed. You can use these clauses when objects are viewed in a custom interface, such as a mobile application or a custom page.