|
|
|
|
俵ÀÌ / 2000-05-03 / ¿ÀÀü 1:25:33 / 203.255.3.190
Á¶È¸¼ö : 107
|
[Áú¹®] À̹ø¿£ ÀÌ»óÇÑ ¿¡·¯°¡ ... |
> >
> > ¾Ñ... ½Ç¼ö¸¦... ^^;
> >
> > SELECT¹®À»
> >
> > SQL= "SELECT cat FROM w2k GROUP BY cat ORDER BY cat DESC"
> >
> > ÀÌ·¸°Ô ¹Ù²ã º¸¼¼¿ä~~
> >
> >
> -----------------------------------------------------------
> ÀÌ·¸°Ô Çϸé Ãâ·ÂÀÌ ¾ÈµÇ´Â°Í °°¾Æ¿ä..
> Á¦ ¿¹»óÀ¸·Ð ±¸ºÐµÈ ¸ñ·ÏÀ¸·Î Ãâ·ÂÀÌ µÇ¾ß Çϴµ¥.
>
>
>
> ADODB.Recordset error '800a0cc1'
>
> Item cannot be found in the collection corresponding to the requested name or ordinal.
>
> /test/list.asp, line 34
>
> ÀÌ·± ¿¡·¯°¡ ¶ß³×¿ä..
> ±×·¡µµ Á¶±Ý¾¿ ±ÙÁ¢ÇØ°¡°í ÀÖ´Â°Í °°¾Æ¼ Áñ°Ì½À´Ï´Ù.
>
>
-----------------------------------------------------------
Ȥ½Ã Ãâ·ÂÀ» ¾î¶»°Ô ÇØ Áּ̳ª¿ä?
group by catÀ¸·Î Ç߱⠶§¹®¿¡ select ÇÒ¶§ cat¸¸À» select Çߴµ¥...
Ȥ½Ã ´Ù¸¥°ÍÀ» Ãâ·ÂÇÏ·Á°í ÇÏ½Å°Ç ¾Æ´ÑÁö¿ä?
¾Æ´Ô cat¸»°í ´Ù¸¥°ÍÀ» slectÇÏ·Á°í ÇÏÁö´Â ¾ÊÀ¸¼Ì´ÂÁö¿ä....
Á¦°¡ ¾Ë±â·Î group byÀ» ÀÌ¿ëÇϸé group by ´ÙÀ½¿¡ ³ª¿À´Â Ä®·³¸¸ selectÇÒ ¼ö ÀÖ½À´Ï´Ù.
±×¿Ü¿¡´Â Áý´ÜÇÔ¼ö(Count, Sum µîµî)¸¸À» ÀÌ¿ëÇÒ ¼ö°¡ ÀÖ½À´Ï´Ù.
±×·³....
|
|
|
|