Turmeric will turn pinky-red in alkali, but is yellowish in both acid and neutral solutions.
So test some of your three solutions with turmeric, and the one that turns the indicator pink is the sodium hydroxide solution.
Now that you know which is NaOH, mix some of thi, separately with some of the other two solutions. The one that gets warmer is the HCl - the neutralisation of HCl with NaOH is exothermic. There is no (rapid) reaction of sugar solution with NaOH so it shouldn't change temperature by much.