Output can't be seen


Please look into this as when I test my solution it is showing correct and on submission, it is showing the wrong answer how should a person know where he went wrong. Need serious improvement.!!


Same problem…while testing it shows correct …but on submission it is showing no output …


If it is showing correct when testing then it means there’s no syntax error in you query.No output means there must be some logical error.