Using flask-sqlalchemy and joining 2 tables i get this:
[(<User 1>, '1', '1', 123, None, None, None)] } }
And have to access like query[0] to user data, query[1], query [2] and query[3] to teacher, how can i get the result like this:
[(<User 1>), ('1', '1', 123), (None, None, None)] } }