| 
| mysql select·Î ¿©·¯ Á¶°ÇÀ» Çѹø¿¡ °Ë»ö |  |  
|  |  |    | 15³â Àü |  | 
| lecture_booktype °¢ Ç׸ñ º°·Î ´©Àû Çհ踦 ±¸ÇϰíÀÚ ÇÕ´Ï´Ù. lecture_booktypeÀÌ 1ÀÎ°Í x°³, 2ÀÎ°Í y°³ ÀÌ·±½ÄÀ¸·Î ÇÏ·Á°í Çϴµ¥¿ä.
 
 SELECT count(`id`) as cnt1 FROM `cukin_lecture_evaluation` WHERE `lecture_booktype`= '1';
 SELECT count(`id`) as cnt2 FROM `cukin_lecture_evaluation` WHERE `lecture_booktype`= '2';
 
 ¸¦ ÀÌ·¸°Ô
 
 select distinct lecture_booktype, count(lecture_booktype) as cnt from cukin_lecture_evaluation group by ecture_booktype
 | 
 |  
|  ̵̧ : 348 | ̵̧
¸ñ·Ï |  |