Where does the nutritional sugar values come from?

If i had only one orange and one apple I would max out my sugar requirement for the day. How can this be? How is the amount of sugar required calculated?:happy: