NODES: Added code to debug SQL sentences