Is there a way to avoid dynamic input / In-DB errors?
What is the error that you are seeing? If it is something about fields missing, try using a select In-DB when In-DB and a select tool prior to the other Join tool downstream. Sometimes having this metadata handy eliminates those.