2015-06-22 2 views
-1

может кто-то пожалуйста, помогите поставить ниже запрос в LiquiBase синтаксисом:Удалить запрос в оракула

delete from test_table t1 
where exists (select emails from test_table t2 
where t2.emails=t1.emails 
and t2.rowid< t1.rowid); 

---------- 

ответ

1

Я думаю, что единственный способ достичь этого поставить его внутри тега SQL

<sql >delete from test_table t1 
where exists (select emails from test_table t2 
where t2.emails=t1.emails 
and t2.rowid< t1.rowid) 
</sql> 
Смежные вопросы