½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
javascript
php
ASP
css
mysql
html
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 34 | Á¶È¸¼ö 501 | µî·ÏÀÏ 2000-12-26 19:47:37

´Ð³×ÀÓ

white

À̸ÞÀÏ

white@happycgi.com

Á¦¸ñ

[´äº¯] DB¸¦ ºÒ·¯¿À´Â °úÁ¤¿¡ °ü·ÃµÈ Áú¹®ÀÔ´Ï´Ù.
³»¿ë
¾È³çÇϽʴϱî? HappyCGIÆÀ¿¡ whiteÀÔ´Ï´Ù.


>¾È³çÇϼ¼¿ä...¼ö°í°¡ ¸¹À¸½Ê´Ï´Ù..
>
>Á¦°¡ ¿¹Àü¿¡ ±ÛÀ» ¿Ã·È´Âµ¥...
>
>ÀÚ¼¼ÇÑ ¼³¸íÀ» ÁÖ¼¼¼­ °¨»çÇÕ´Ï´Ù..
>
>
>
>±Û±¸..Á˼ÛÇÏÁö¸¸..¶Ç ÇϳªÀÇ Áú¹®À» ÇÏ·ÁÇÕ´Ï´Ù.
>
>¾Æ·¡¿Í °°Àº Å×À̺íÀÌ ÀÖ´Ù°í °¡Á¤À» ÇÑ´Ù¸é...
>
>_____________________________
>
>result | survey | answer
>
>-----------------------------
>
> 1   | 1 | 2
>
> 2 | 1 | 2
>
> 3 | 1 | 1
>
> 4 | 1 | 2
>
> 5 | 1 | 4
>
> 6 | 1 | 5
>
> 7 | 1 | 2
>
>-----------------------------
>
>±×·³ ¿©±â¿¡¼­ answer¿¡ ÀÖ´Â ÇʵåÀÇ °ªÁß °°Àº °Í³¢¸®
>
>¹­¾î¼­ °¡Àå ¸¹Àº °¹¼ö ºÎÅÍ ºÒ·¯¿Â´Ù¸é ¾î¶»°Ô ÇؾßÇÏ´ÂÁö¿ä..
>
>


answer ÇʵåÀÇ °ª Áß¿¡¼­ °°Àº °ÍÀ» group by answer¸¦ ÀÌ¿ëÇؼ­ ¹­¾î ÁÖ°í,

count¸¦ ÀÌ¿ëÇϽøé answerÇʵ忡¼­ °¡Àå ¸¹Àº °¹¼öºÎÅÍ Ãâ·ÂµË´Ï´Ù.

< Äõ¸® >
select answer,count(answer) as count from Å×À̺í group by answer order by count desc;

°¨»çÇÕ´Ï´Ù. ÁÁÀº ÇÏ·ç º¸³»¼¼¿ä. ^ ^*
Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û perl ÀÌ cgi ¿Í °°Àº °Í ÀԴϱî?? 2000-12-26 18:07:40
´ÙÀ½°Ô½Ã±Û ±è¿µ¿± 2000-12-26 23:27:15