added SQL snippet