SQL statements in Python continue to plague me. I'm trying to get the following expression written in a stand alone script:
This is what I've got so far but I don't think it's even close to the right syntax. I continue to get a syntax error at each iteration of this statement I try. Is there a guide to placing operands, field names, values, double and single quotes?
QF5 = "Week" QF6 = "Wk" WC4 = '" QF5" + ' <> "'" + QF6 + "'" AND '" QF6" + ' <> "''''"