If I have two tables, batches and batch_log, batches has information about a specific batch and batch_log simply has the id of the batch_log record, the batch_id and the time_elapsed field how do I join the total from a field in another table that has a relationship of batch_log.batch_id = batches.id so that I can get the total of all of the time_elapsed for that batch?
If I have two tables, batches and batch_log, batches has information about a specific
Share
This is what i can interpret from your question.
Hope this helps.