
List<Contact> conlist = [select Id, from contact where email='janedoe@gmail.com'];
I'm getting this error: Unexpected token '<'.
Does anyone know the reason it's not recognising the < in the list declaration? What am I missing?
답변 2개
try this List<Contact> conlist = [select Id from contact where email='janedoe@gmail.com'];