Include base sql with code