Goto
An unconditional jump to address P2.
Jumps: P2 is an instruction address. In the listings here, a jump is drawn as an arc and the address is a link.
An example
178 of the 178 statements we compiled against the sample database use Goto. This is the one with the shortest program; the rows that use Goto are highlighted.
BEGIN
Open it in the EXPLAIN visualizer →
Also in this program: AutoCommit, Halt, Init.
What the SQLite documentation says
An unconditional jump to address P2. The next instruction executed will be the one at index P2 from the beginning of the program.
The P1 parameter is not actually used by this opcode. However, it is sometimes set to 1 instead of 0 as a hint to the command-line shell that this Goto is the bottom of a loop and that the lines from P2 down to the current line should be indented for EXPLAIN output.
From sqlite.org's list of opcodes for SQLite 3.54.1, in the public domain. Opcodes are not a stable interface and change between releases.