Skip to content

How to choose unique expressions in the select statement? #6054

@powerthe900

Description

@powerthe900

I currently have a query that returns the values of three expressions like this.


from Function f, Variable v, string s, string l
where 
foo
select f, s, l

The problem that I come across is that for each function f there are multiple values of l. For example, the output would be
printf, foo, lemon
printf, foo, straw

How could I write the query in such a way that it only chooses the first value of l. In this case, it would be lemon.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions