|
|
|
|
俵ÀÌ / 2001-11-19 / ¿ÀÈÄ 7:19:47 / 203.255.3.190
Á¶È¸¼ö : 129
|
[Áú¹®] µµ¿ÍÁÖ¼¼¿ä...
|
> SQL = "select a, b, c, d, d, a+b+c+e+f as total
> rs.open SQL, con, 1
>
> a1 = a/total
> b1 = b/total
> c1 = c/total
> d1 = d/total
> e1 = e/total
>
> a1, b1, c1, d1, e1
>
> ÀÌ °ªµéÁß¿¡¼ Á¦ÀÏ Å«°ªÀ» »Ì¾Æ response.write "Á¦ÀÏ Å«°ª"À»
> ÂïÀ»¶ó°í ÇÕ´Ï´Ù.
> ¾î¶»°Ô ÇÏ´ÂÁö ¾Æ½Ã´Â ºÐ ÀÖ³ª¿ä? ºÎŹµå¸³´Ï´Ù.
-----------------------------------------------------------
a, b, c, d, e°¡ ¼·Î ´Ù¸¥ Ä®·³À̶ó¸é ÀÌ Áß °¡Àå Å« °ªÀ» ¾Ë¾Æ³»´Â
SQL ¹æ¹äÀº ¾Æ¸¶ ¾øÀ»°Ì´Ï´Ù.
¹æ¹ýÀº ·çÇÁ·Î µ¹¸®¸é¼
a, b, c, d, e¸¦ ¼·Î Â÷·Ê·Î ºñ±³ÇÏ¸é¼ °¡Àå Å« °ªÀ» ã´Â ¹æ¹ý»ÓÀÔ´Ï´Ù...
|
|
|