private String getColumnsFromResultSetMetaData(ResultSetMetaData rsmd) throws SQLException {

        StringBuilder columnNames = new StringBuilder();

        int columnsNumber = rsmd.getColumnCount();

        for (int i = 1; i <= columnsNumber; i++) {
            if (i > 1) columnNames.append(",");
            if (this.options.getQuotedIdentifiers())
                columnNames.append("\"").append(rsmd.getColumnName(i)).append("\"");
            else
                columnNames.append(rsmd.getColumnName(i));
        }
        return columnNames.toString();
    }
When using a table name in a generated SQL query, how (if at all)
should we escape that column name? e.g., a table named "table"
may need to be quoted with backtiks: "`table`".

@param tableName the table name as provided by the user, etc.
@return how the table name should be rendered in the sql text.
src/main/java/org/replicadb/manager/ConnManager.java