Added SQL query guidelines