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 • 1 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

Hello @leoosalles, for me also doesn't work. I tried on SQLite Online and VSCode and didn't work either. I sent a errata on official site informing this, now I'm waiting for some response. But did you get how to make that instruction work somehow?

tarsisos avatar Oct 17 '25 20:10 tarsisos