<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: GROUP BY in sql query in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/GROUP-BY-in-sql-query/m-p/219790#M3904</link>
    <description>Hello, &lt;BR /&gt;
 
&lt;BLOCKQUOTE&gt;maurice72 wrote:&lt;BR /&gt;I need to sum some parametrs and use GROUP by command &lt;BR /&gt;
But when I try to execute - fail. &lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
as Ákos Somorjai said in this topic (&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=57029" target="_blank"&gt;archicad-talk.graphisoft.com/viewtopic.php?t=57029&lt;/A&gt;), &lt;BR /&gt;
the SQL queries are not supported any more officially (the last supported version was ARCHICAD 18 ), so don't rely on them. &lt;BR /&gt;
 
&lt;BLOCKQUOTE&gt;maurice72 wrote:&lt;BR /&gt;How I can storage queries in project ?&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
Could you explain exactly what would you like to store in project file? Just the string of queries or something else? &lt;BR /&gt;
 &lt;BR /&gt;
Best, &lt;BR /&gt;
Mihály</description>
    <pubDate>Fri, 15 Sep 2017 15:06:28 GMT</pubDate>
    <dc:creator>Mihaly Palenik</dc:creator>
    <dc:date>2017-09-15T15:06:28Z</dc:date>
    <item>
      <title>GROUP BY in sql query</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GROUP-BY-in-sql-query/m-p/219789#M3903</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hello !&lt;BR /&gt;&lt;BR /&gt;Try to create some simple query. &lt;BR /&gt;I need to sum some parametrs and use GROUP by command &lt;BR /&gt;But when I try to execute - fail.
&lt;PRE&gt;unexpected token: GROUP в [строка: 1, столбец: 70]&lt;/PRE&gt;
My query:
&lt;PRE&gt;select h.PARAMETERS.name   from flat( OBJECTS,PARAMETERS) as h 
group by h.PARAMETERS.name &lt;/PRE&gt;
It is working? &lt;BR /&gt;&lt;BR /&gt;And one more question.&lt;BR /&gt;How I can storage queries in project ?&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Dec 2022 12:59:45 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GROUP-BY-in-sql-query/m-p/219789#M3903</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-12-06T12:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: GROUP BY in sql query</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GROUP-BY-in-sql-query/m-p/219790#M3904</link>
      <description>Hello, &lt;BR /&gt;
 
&lt;BLOCKQUOTE&gt;maurice72 wrote:&lt;BR /&gt;I need to sum some parametrs and use GROUP by command &lt;BR /&gt;
But when I try to execute - fail. &lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
as Ákos Somorjai said in this topic (&lt;A href="http://archicad-talk.graphisoft.com/viewtopic.php?t=57029" target="_blank"&gt;archicad-talk.graphisoft.com/viewtopic.php?t=57029&lt;/A&gt;), &lt;BR /&gt;
the SQL queries are not supported any more officially (the last supported version was ARCHICAD 18 ), so don't rely on them. &lt;BR /&gt;
 
&lt;BLOCKQUOTE&gt;maurice72 wrote:&lt;BR /&gt;How I can storage queries in project ?&lt;/BLOCKQUOTE&gt; &lt;BR /&gt;
Could you explain exactly what would you like to store in project file? Just the string of queries or something else? &lt;BR /&gt;
 &lt;BR /&gt;
Best, &lt;BR /&gt;
Mihály</description>
      <pubDate>Fri, 15 Sep 2017 15:06:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GROUP-BY-in-sql-query/m-p/219790#M3904</guid>
      <dc:creator>Mihaly Palenik</dc:creator>
      <dc:date>2017-09-15T15:06:28Z</dc:date>
    </item>
  </channel>
</rss>

