             db: db,
             argumentsSink: argumentsSink,
             resolvedNames: [:],
-            qualifierNeeded: false)
-    }
-    
-    /// Used for TableRecord.selectionSQL
-    static func selectionContext(
-        _ db: Database,
-        argumentsSink: StatementArgumentsSink = StatementArgumentsSink())
-        -> SQLGenerationContext
-    {
-        SQLGenerationContext(
-            db: db,
-            argumentsSink: argumentsSink,
-            resolvedNames: [:],
-            qualifierNeeded: true)
+            qualifiesColumnsWithTable: false)
     }
     
     /// Used for SQLQueryGenerator

/// [**Experimental**](http://github.com/groue/GRDB.swift#what-are-experimental-features)
///
/// SQLGenerationContext is responsible for preventing SQL injection and
/// disambiguating table names when GRDB generates SQL queries.
///
/// :nodoc:
public struct SQLGenerationContext {
    let db: Database
    var arguments: StatementArguments { argumentsSink.arguments }
    let argumentsSink: StatementArgumentsSink
    private var resolvedNames: [TableAlias: String]
    private var qualifierNeeded: Bool
        
    /// Used for literal generation
    static func sqlLiteralContext(

        if alias.hasUserName {
            return alias.identityName
        }
        if qualifiesColumnsWithTable == false {
            return nil
        }
        return resolvedName(for: alias)
