How can I write a multiple conditional SQL expression? The problem is that the user types in the 2 expressions to cross reference.