我想做一个非常简单的查询。select * from table group by portfolio_id HAVING max(date)def result = Table.executeQuery("from Table group by portfolio having max(date)")我没有头绪,我读了一些文件,但我仍然不能得到它,为什么它不应该工作。| Error 2014-01-29 17:20:15,400 [http-bio-808
我一直收到这个错误:Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in functions.phpon line 4 error reading database
$result = mysql_query("SHOW TABLESLIKE '$gn'",$db) or die ('error reading
这是我的连接文件,它没有错误,但似乎没有连接到我的数据库。$username="root";$password="Abubba21";$database="posts";@mysql_select_db($database) or die( "Unable to select database");?