If you want to select "the data from a column when the column has a space",
use:
WHERE "currency -" LIKE '% %'
or
SELECT CASE WHEN "currency -" LIKE '% %' THEN "currency -" ELSE ... END
and note what umayer said:
Quote:
keep in mind, that the column-name is case sensitiv if you use double quotes.
SELECT "currency -" FROM your-table
is not the same as
SELECT "Currency -" FROM your-table
|