This project is currently in hard development and based on the tutorial: https://cstack.github.io/db_tutorial/ with my own wheels, of course.
Tutorial is not complete, there only 13 parts, and 4 years of silence make me guess that this project will not be finished ever.
However the primitive-restricted-base of sqlite-clone is implement and it's kinda works.