There are 2 nodes that can be used as predessesor for a node with an input port of type DB Session.
Node to Remove SQL From Database connection
IF Switch node with active branch based on whether the database connection contains the specified table