Your h-index is the highest number n, such that you have at least n questions/answers, all of which have at least n score.
Q&A about the site for movie and tv enthusiasts
with distinctscores as
select distinct score from posts where owneruserid=88656
select ds.score, postcount=(select count(*) from posts where owneruserid=88656 and score>=ds.score) from distinctscores ds
select * from scorecomp where postcount>=score
order by score