我需要一个条件来在oracle中写查询以满足以下条件
A和B是2个表
select *
From A A1, B B1
Where A1.SS = B1.SS
And A1.TS = B1.TS
and a1.indx = (select max(indx)
from A
where tc = 'T1234'
and sc = 'S1234'
)
and A1.override = B1.override
and (a1.onevale <> b1.onevale)
有人可以解释这个查询是否满足所有条件