I have 2 tables in postgres, product and product2
I cannot query product2
query 2 works well,
query 1 and 3 does not run and gives error "relation does not exist"
please help.
I have 2 tables in postgres, product and product2
I cannot query product2
query 2 works well,
query 1 and 3 does not run and gives error "relation does not exist"
please help.
I found out that when you query SELECT * FROM public.PRODUCT2
, you are actually querying product2
table (with lowercase).
It is like all of the text of your query are converted to lowercase characters before actually run.
The text between double quotes does not converted to lowercase so the below query worked.
SELECT * FROM public."PRODUCT2"