Using modifyElementsQuery to get plugin's custom table data I need to join my plugin's custom table to a an ElementCriteriaModel (ECM). I am trying to use modifyElementsQuery. 

In the plugin's custom table, rows can share an element/entry via a separate id.

Can I achieve this by adding to the modifyElementsQuery? What would the query be to accomplish this? 

*My intention is to have an array of models for each row of my custom table, and each model will include my row data, in addition to the element's content it is related to.
I found out I was not able to accomplish what I needed by using modifyElementsQuery.  So I created my own ElementCriteriaModel &amp; buildElementsQuery for my plugin. This allows the criteria to be built from my table directly instead of elements table.