Query returns no data SQL Lab
When I run the query select * from table where 'Column' = 'Value' in SQL Lab, the query returns no data, even though there are rows that satisfy that condition.
Is there something wrong with my where condition?
PS:
I have also tried select * from table where Column = 'Value', and I get the following Error message:
column "column" does not exist LINE 1: select * from table where Column = 'Value' ^ HINT: Perhaps you meant to reference the column "table.Column".
When I try select * from table where table.Column = 'Value' there's again a similar Error message:
column table.column does not exist LINE 1: select * from table where table.Column = 'Value' ^ HINT: Perhaps you meant to reference the column "table.Column".
I assume the problem is with the capital C in Column, hence why I put the single quotes in the query.
Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.63. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.