code: function joinSql (tableA, aliasA, columnA, aliasB, columnB, join) {
      // default to JOIN
      if (!join) {
          join = 'JOIN'
      }
      // if columbB not passed use same name as columnA
      if (!columnB) {
          columnB = columnA
      }
      // build sql
      return `${join} ${this.quoteName(tableA)} ${aliasA} ON ${aliasA}.${this.quoteName(columnA)} = ${aliasB}.${this.quoteName(columnB)}`
  }
docs: @function joinSql
  
  bulid sql for join with passed in join statement
  join tableA aliasA ON aliasA.`column` = aliasB.`column`
  
  @param {string} join
  @param {string} tableA
  @param {string} aliasA
  @param {string} columnA
  @param {string} aliasB
  @param {string} columnB
  
  @returns {string}
  
  @throws {Error}