GROUP BY in sql query
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-08-11
02:22 PM
- last edited on
2022-12-06
01:59 PM
by
Daniel Kassai
2017-08-11
02:22 PM
Hello !
Try to create some simple query.
I need to sum some parametrs and use GROUP by command
But when I try to execute - fail.
And one more question.
How I can storage queries in project ?
Try to create some simple query.
I need to sum some parametrs and use GROUP by command
But when I try to execute - fail.
unexpected token: GROUP в [строка: 1, столбец: 70]My query:
select h.PARAMETERS.name from flat( OBJECTS,PARAMETERS) as h group by h.PARAMETERS.nameIt is working?
And one more question.
How I can storage queries in project ?
Labels:
- Labels:
-
Add-On (C++)
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2017-09-15 05:06 PM
2017-09-15
05:06 PM
Hello,
as Ákos Somorjai said in this topic (archicad-talk.graphisoft.com/viewtopic.php?t=57029),
the SQL queries are not supported any more officially (the last supported version was ARCHICAD 18 ), so don't rely on them.
Could you explain exactly what would you like to store in project file? Just the string of queries or something else?
Best,
Mihály
maurice72 wrote:
I need to sum some parametrs and use GROUP by command
But when I try to execute - fail.
as Ákos Somorjai said in this topic (archicad-talk.graphisoft.com/viewtopic.php?t=57029),
the SQL queries are not supported any more officially (the last supported version was ARCHICAD 18 ), so don't rely on them.
maurice72 wrote:
How I can storage queries in project ?
Could you explain exactly what would you like to store in project file? Just the string of queries or something else?
Best,
Mihály