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

ios - MKAnnotationView layer is not of expected type: MKLayer -

ZeroMQ on Windows, with Qt Creator -

unity3d - Unity SceneManager.LoadScene quits application -