Added SQL output