select paper_id from myscore where sum(score) < 90 group by paper_id
select paper_id from myscore group by paper_id having avg(score) < 90
select paper_id from myscore where avg(score) < 90
select paper_id from myscore where avg(score) < 90 group by paper_id