I am tried to write delete query using advanced query. But don't no how to write query in advance query still I tried but I am getting error.Please help me how to write query with example.
I just want to delete all the data from "EnvelopeHeader" entity.
If you're using
DELETE FROM table
WHERE table.column IN (...)
That means your inner query must return a list of values with the same type as table.column.
In your case your inner query:
It should be something like
DELETE FROM {table}
WHERE {table}.[column] in
(SELECT {table}.[column] FROM {table} WHERE <condition>)
Also don't forget that if you want to use parameters, you can refer to them by using @param_name