The only way I can see you doing this with your current database structure is like this :
SELECT DISTINCT m.idstudent, (SELECT score FROM mark where idsubject = 111) AS idsubject1, (SELECT score FROM mark where idsubject = 112) AS idsubject2 FROM mark m;
but that is pretty ugly. I think you should reconsider you database structure to be honest.
Hope this helps