Need help tuning a SQL statement
- by jeffself
I've got a table that has two fields (custno and custno2) that need to be searched from a query. I didn't design this table, so don't scream at me. :-)
I need to find all records where either the custno or custno2 matches the value returned from a query on the same table based on a titleno.
In other words, the user types in 1234 for the titleno.…