query works with psql cli but not with psycopg2
I am querying a postgresql database with the psycopg2 python module.
I wrote a sql query with a “INNER JOIN” statement. It it supposed to get all the technologies related to an asset that I create. The database shemes are: