adding sql code samples