Cookbook of sql scripts for MIMIC-II