|
|
|
|
¼ÄÄ / 2000-05-02 / ¿ÀÈÄ 8:34:16 / 203.253.213.164
Á¶È¸¼ö : 119
|
[Áú¹®] Àú¹ø Áú¹®À» ´Ù½Ã... |
Àú¹ø¿¡ Áú¹®Çß´Ù°¡
俵´ÔÀÌ Á¹¸®´Ù°íÇϸç
°£´ÜÈ÷ ¼³¸íÇØÁá´ø°Ô
ÀÌÇØ°¡ ¾ÈµË´Ï´Ù.
group by ¸¦ »ç¿ëÇÏ¸é µÈ´Ù°í Çϼ̴µ¥...
ÀÚ¼¼È÷ ¾î¶»°Ô ÇØ¾ß Çϴ°ÇÁö...
<%
'DB¿¡ ¿¬°á
Set db = Server.CreateObject("ADODB.Connection")
db.Open("DSN=SiteDataDB;UID=sa;PWD=")
SQL= "SELECT * FROM w2k GROUP BY cat ORDER BY num DESC"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL,db,0
%>
ÀÌ·¸°Ô Çؼ ¿¬°áÇØ ºÃ´Âµ¥ ¿¡·¯°¡ °è¼Ó ³ª³×¿ä..
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[Microsoft][ODBC SQL Server Driver][SQL Server]Column 'w2k.w2k_id' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.
|
|
|