hi
i have a table called CAR
in the table i have the columns :
ID,WITH_ID,NAME
some of the records in table has the ID value of other records in the WITH_ID column
(e.g record A has ID =123 , and record B and C has WITH_ID =123 , the ID of B and C is diffrent)
for other records the WITH_ID column is empty.
per a given ID i need to fetch all records that has this ID in WITH_ID column - but i cant mark the WITH_ID column as index.
there for i have perfromnce probelm
can i solve this probelm some how?
i have a table called CAR
in the table i have the columns :
ID,WITH_ID,NAME
some of the records in table has the ID value of other records in the WITH_ID column
(e.g record A has ID =123 , and record B and C has WITH_ID =123 , the ID of B and C is diffrent)
for other records the WITH_ID column is empty.
per a given ID i need to fetch all records that has this ID in WITH_ID column - but i cant mark the WITH_ID column as index.
there for i have perfromnce probelm
can i solve this probelm some how?