Gas-phase basicity:
$$\mathrm{R_3N} \gt \mathrm{R_2NH} \gt \mathrm{RNH_2} \gt \mathrm{NH_3}$$Reason: +I effect (tertiary > secondary > primary > ammonia)
Aqueous basicity:
$$\mathrm{R_2NH} \gt \mathrm{RNH_2} \gt \mathrm{R_3N} \gt \mathrm{NH_3}$$Reason: solvation > steric hindrance favors 2Β° > 1Β° > 3Β° > ammonia