0

table A (id int pk, columnA int, columnB int)次のクエリのインデックスを作成する方法はありますか:

select * from A where columnA > columnB 

columnC = columnA - columnB現在、クエリを次のように追加および変更しました。

select * from A where columnC > 0(C列にインデックスあり)

4

1 に答える 1