Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not Exists clause in Kibana #72332

Open
rgoliveirati opened this issue Jul 17, 2020 · 1 comment
Open

Not Exists clause in Kibana #72332

rgoliveirati opened this issue Jul 17, 2020 · 1 comment

Comments

@rgoliveirati
Copy link

How can I write this not exists syntax for Kibana?

My code in SQL:

WHERE
(mma.mma_data_mov > '2015-12-31 23:59:59') and
MMA_DATA_MOV < '2017-08-20' and not exists ( select 1 from mma b where
b.mma_mat_cod = mma.mma_mat_cod
and b.mma_sba_cod = mma.mma_sba_cod
and b.mma_data_mov < '2017-08-20'
and b.mma_data_mov > mma.mma_data_mov )
order by MMA_DATA_MOV desc;

@elasticmachine
Copy link
Contributor

Pinging @elastic/integrations (Team:Beats)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants