allow also dependencies that do not refer to a physical table or view

e.g. inline sql selects