I am trying to select data from a bigint column in PgAdmin using SQL:
SELECT FROM public.addressbaseplus WHERE uprn LIKE '100%'
However, I am getting the following error:
ERROR: operator does not exist: bigint ~~ unknown
LINE 1: SELECT FROM public.addressbaseplus WHERE uprn LIKE '100%'
HINT: No operator matches the given name and argument type(s). You might
need to add explicit type casts.
SQL state: 42883
Character: 47
Can someone explain to me what I am doing wrong and the error appears?
SELECT <nothing_here> FROM ...
selects no column...