Implemented table function helpers for 1-1 and 1-n relationships.
Implemented table function helpers for n-n relationships.