Yet another SQL implementation