Hello @Rui Rodrigues , You sure can. I have tried this to confirm. I have a test entity with 1 row. I have tried 2 pairs of SQL queries.
first case
SELECT * FROM {Book_Details};
DELETE FROM {Book_Details} WHERE {Book_Details}.[Id] = 1;
in this case, first the select query is run and then delete query, thus giving 1 row in output.
second case
DELETE FROM {Book_Details} WHERE {Book_Details}.[Id] = 1;
SELECT * FROM {Book_Details};
in this case, first the delete query is run and then select query, thus giving 0 rows in output.
So, we can run multiple SQL statements inside a single SQL Advanced, but the output will get affected by their sequence