FOFTable::getQueryJoin

Get a JOIN query, used to join other tables