Reaction of p-aminoacetophenone 1 with p-substituted benzenesulfonyl chloride 2a, b in pyridine afforded p-acetyl derivatives 3a, b, which was then condensed with araldehydes to yield the corresponding chalcones 4a-f. On condensation of latter chalcones with malononitrile afford cyanopyridines 5a-f, the reaction of chalcones 4a-f with hyroxylamine hydrochloride furnished isoxazoles 6a-f, while condensation of chalcones with hyrazine ...