oreilly_getting_started_with_sql icon indicating copy to clipboard operation
oreilly_getting_started_with_sql copied to clipboard

Syntax doesn't work as expected

Open leoosalles opened this issue 1 year ago • 0 comments

On page 51 the author introduces an example of COALESCE() function. But it doesn't work. I mean, there are still NULL fields. Here is the statement:

SELECT * FROM station_data WHERE coalesce(precipitation, 0) <= 0.5; coalesce

leoosalles avatar Apr 26 '24 21:04 leoosalles