More SQL for debugging.