I try to delete data from room database using INNER JOIN.
My code does not build. Below is the error.

How to delete data using INNER JOIN?
Sqlite does't accept this syntax , because it is different from SQL Server.
so the best solution is
DELETE FROM waybills wb WHERE status IN (SELECT type FROM timestamps WHERE timestamp = 23)
What about following query :
DELETE FROM waybills WHERE status IN (SELECT type FROM timestamps WHERE timestamp = 23)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With