Hi all,
I thought it best to create a new thread instead of replying to the old one. Basically I'm querying a Postgresql server using SQLAlchemy. The issue I have is that for some reason it's not pulling through any results. Now this issue isn't exactly python related as I've tried it using the query tool on PGAdmin 4 and it also pulls no results.
Data example:
If anyone can help then I would really appreciate it.
Thanks,
James
I thought it best to create a new thread instead of replying to the old one. Basically I'm querying a Postgresql server using SQLAlchemy. The issue I have is that for some reason it's not pulling through any results. Now this issue isn't exactly python related as I've tried it using the query tool on PGAdmin 4 and it also pulls no results.
Data example:
Output:style_no style_no_size
12-2408-08 12-2408-08:10
12-2408-08 12-2408-08:20
12-2408-08 12-2408-08:29
The code is runningOutput:select style_no where style_no_size = '12-2408-08:29'
and it's pulling nothing through, even when I try the opposite.If anyone can help then I would really appreciate it.
Thanks,
James
while dad_has_cigs == True: happiness = True if dad_has_cigs == False: print("Dad come home!") happiness = not happiness break