Example:
Bromocyclohexene, a 2o halide, can undergo both substitution and elimination. E2 is favored over SN2 by using diisopropylamine as the base. Diisopropyl amine is too bulky to be a good nucleophile, but it acts as a strong base to abstract a proton.