Skip to content

how i can make a not exists expression with a subqueryΒ #48

@catthecreator

Description

@catthecreator

Hi!

Please tell me how I can create the following expression

select *
from `users`
where `channel_id` = 81
  and (not exists (select *
                     from `user_variables`
                     where `users`.`id` = `user_variables`.`user_id`
                       and `id` in ('489')
                       and `value` = 123
          ))

For one field, I can use the construction
!relation.column

But I need not_exists by subquery

Thanks for your attention :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions