I have a Flask application connected to a Postgres database through SQLAlchemy. At the class method get_list_best_prices_and_promotions I\'m trying to join two
get_list_best_prices_and_promotions