If they admit they don't know how to debug SQL in an interview, that is actually a positive thing. They know their current limitations and are honest about it. If they start looking for problems in irrelevant areas (like HTML) and making things up when they were specifically told the problem was elsewhere (backend), that is a bad sign.