What does the query return if there is no Contact with the last name - ProProfs Discuss
Topics
Products
Follow Us:

What does the query return if there is no Contact with the last name = 'Smith'?
A developer has the following query:
Contact c = [SELECT ID, firstname, lastname, email FROM Contact WHERE lastname = 'Smith;

What does the query return if there is no Contact with the last name = 'Smith'?<br/>
A developer has the following query:
<br/>Contact c = [SELECT ID, firstname, lastname, email FROM Contact WHERE lastname = 'Smith;

Change Image    Delete



1. An error that no rows are found
B. A contact with empty
C. A contact initialized to null
D. An empty List of Contacts

This question is part of Exam ng Pabebe Girls
Asked by Catherine halcombe, Last updated: May 31, 2020

+ Answer
Request

1 Answer

John Smith

John Smith

Answered Dec 18, 2016

An error that no rows are found
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.