3 answers

You need to give the relationship name. Please try this:
Thanks!List<Customer_Training__c> trnLst = new List<Customer_Training__c>([SELECT
Id,
Name,
(SELECT Id, Name, Billable__c, Time_Spent__c
FROM
Project_Time_Entry__r)
FROM Customer_Training__c LIMIT 200]);