Difference From Standard SQL Query
- There is support for
LEFT OUTER JOIN
but notRIGHT OUTER
orFULL OUTER
.- To get equivalent output to
RIGHT OUTER
you can reverse the order of the tables (i.e.A RIGHT JOIN B
is the same asB LEFT JOIN A
. - While it isn’t required to complete this assignment, the equivalent to
FULL OUTER JOIN
can be done byUNION
ingRIGHT OUTER
andLEFT OUTER
- To get equivalent output to
- There is no regex match (
~
) tilde operator. You can useLIKE
instead. - There is no
ANY
orALL
operator.
Architecture
SQLite works by compiling SQL text into bytecode, then running that bytecode using a virtual machine.