RNA-directed RNA polymerase that catalyzes the transcription of viral genomic and subgenomic RNAs. Acts in complex with nsp7 and nsp8 to transcribe both the minus and positive strands of genomic RNA. The kinase-like NiRAN domain of NSP12 attaches one or more nucleotides to the amino terminus of NSP9, forming a covalent RNA-protein intermediate that serves as transcription/replication primer. Subgenomic RNAs (sgRNAs) are formed by discontinuous transcription: The polymerase has the ability to pause at transcription-regulating sequences (TRS) and jump to the leader TRS, resulting in a major deletion. This creates a series of subgenomic RNAs that are replicated, transcribed and translated. In addition, Nsp12 is a subunit of the viral RNA capping enzyme that catalyzes the RNA guanylyltransferase reaction for genomic and sub-genomic RNAs. Subsequently, the NiRAN domain transfers RNA to GDP, and forms the core cap structure GpppA-RNA