Skip to content

.Group/.max operator question #94

@haeussler247

Description

@haeussler247

Hey,

I do have an SQL Statement that looks something like this:

SELECT * FROM table
WHERE age IN (SELECT max(age) FROM table
GROUP BY id)
ORDER BY id

My statement, build with your Framework looks something like this

table.filter(contains[table.max(age)!
.group by id], age)
.order by id

so i want to use the group by function to the knew query with the max age values.
The Problem I have is, that .max returns a simple value and no query.

Is there any way I can solve this Problem?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions