<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - DBModel 에서 GROUP BY같은 건 어떻게 써야 하나요?]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=9237&amp;type=atom"/>
	<updated>2010-01-05T12:55:56Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=9237</id>
		<entry>
			<title type="html"><![CDATA[DBModel 에서 GROUP BY같은 건 어떻게 써야 하나요?]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=37517#p37517"/>
			<content type="html"><![CDATA[<p>예전 버전에서 사용하던 mysql 구문은 </p><p>mysql_query(&quot;SELECT MAX(`id`) as id FROM `&quot;.$database[&#039;prefix&#039;].&quot;Comments` WHERE `blogid` =$blogid&nbsp; AND `name` != &#039;$ownerid&#039; and&nbsp; `isFiltered` = 0 and written between $yearstart and $yearend GROUP BY `name`&quot;)</p><p>이런 식이었습니다만...</p><p>GROUP BY 나 BETWEEN 도 문제이고...<br />MAX()도 어떻게 처리해야 할지...좀 난감하군요.</p>]]></content>
			<author>
				<name><![CDATA[Draco]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=684</uri>
			</author>
			<updated>2010-01-05T12:55:56Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=37517#p37517</id>
		</entry>
</feed>
