hfhbd
09/07/2021, 2:19 PMselect name, min(time), max(time) from data group by name
In https://github.com/JetBrains/Exposed/wiki/DSL#group-by there is no good sampleBogdan
09/07/2021, 2:41 PMval min = table.time.min() // so as not to create constantly
val min = table.time.max()
table.slice(table.name, min, max)
.selectAll()
.groupBy(table.name)
hfhbd
09/07/2021, 2:59 PM