The diversity-oriented synthesis of 2,4,6-trisubstituted pyridines via K2CO3-promoted multicomponent reactions of the β-nitrostyrenes, available substituted salicylic aldehydes and ammonium acetate have been developed.