Condensation of dihydroxy acetone phosphate (DHAP) on new hydroxy-aldehydes catalysed by fructose-1,6-diphosphate aldolases provides two aldoketoses presumed intermediates in the biosynthesis of nojirimycin and mannojirimycin, as well as useful precursors for the chemical synthesis of these aminosugars and some analogues.