hi there;
DDL: SELECT nbr, callnumber, author, title, category FROM invmarc where nbr IN (SELECT DISTINCT nbr FROM keyword where keyword LIKE '%BIN%') or nbr IN (SELECT DISTINCT nbr FROM keyword where keyword LIKE '%MONEY%')
regarding the sql above, i would like to know, when i search more than 2 fields, the oracle database take about 60 seconds to return the result to me. I am wondering why is it so slow? is it because my sql structure not proper?
DDL: SELECT nbr, callnumber, author, title, category FROM invmarc where nbr IN (SELECT DISTINCT nbr FROM keyword where keyword LIKE '%BIN%') or nbr IN (SELECT DISTINCT nbr FROM keyword where keyword LIKE '%MONEY%')
regarding the sql above, i would like to know, when i search more than 2 fields, the oracle database take about 60 seconds to return the result to me. I am wondering why is it so slow? is it because my sql structure not proper?