PROBLEM TO BE SOLVED: To provide a pharmaceutical composition containing a tetrahydropyridine derivative having a monoacylglycerol acyltransferase 2 (MGAT2) inhibitory action. SOLUTION: A pharmaceutical composition containing a compound represented by the formula (I) or a pharmaceutically acceptable salt thereof. (X and Z are C (= O), etc .; L is a single bond, O, S, etc .; R is R 6 or B, etc .; A and B are independently aromatic carbocycles, etc .; R 2 is H, etc .; R 3 is an alkyl or the like; R 4a and R 4b are H or the like independently; R 5 and R 6 are halogen or the like; R 7a is H or the like; R 7b , R 8 and R 9 are H or the like; m and n are 0 to 0 Integer of 5; p is an integer of 1 to 6) [Selection diagram] None【課題】モノアシルグリセロールアシルトランスフェラーゼ2(MGAT2)阻害作用を有するテトラヒドロピリジン誘導体を含有する医薬組成物の提供。【解決手段】式(I)で示される化合物又はその製薬上許容される塩を含有する医薬組成物。(X及びZはC(=O)等;Lは単結合、O、S等;RはR6又はB等;A及Bは各々独立に芳香族炭素環等;R2はH等;R3はアルキル等;R4a及びR4bは各々独立にH等;R5及びR6はハロゲン等;R7aはH等;R7b、R8及びR9はH等;m及びnは0~5の整数;pは1~6の整数)【選択図】なし