SQL mockup