different sql scripts and examples