python - How to get the outer join data? -


there 3 tables.

a = class(base):     __tablename__ = 'a'     id = column(integer, primary_key=true)     employee_number = column(string, nullable=false)  b = class(base)     __tablename__ = 'b'     id = column(integer, primary_key=true)     employee_number = column(string, nullable=false)     work = column(integer, nullable=false)  c = class(base)     __tablename__ = 'c'     id = column(integer, primary_key=true)     employee_number = column(string, nullable=false)     work = column(integer, nullable=false)  d = query(b).union(query(c)) 

how ( outerjoin d on employee_number ) ? thank much!


Comments

Popular posts from this blog

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -

python - Error while using APScheduler: 'NoneType' object has no attribute 'now' -