I have the following query:
sqlLote = ("select lot.idLote from Lote lot \
inner join [dbo].[Usuario] u on lot.idUsuario = u.idUsuario \
where u.userName = '%s'") % \
(usuario)
The result of this query per sql gives
1 4 5 6 9
When I print it on the screen, the data looks like this:
cursorUsuario = connUsuario.execute(sqlLote)
print([x for x in cursorUsuario])
[(1,), (4,), (5,), (6,), (9,)]
Why is it not shown in the following way?
[1,4,5,6,9]