Yes, that’s expected. The sql template literal will create queries with placeholders for values (which will then be properly escaped), but it does not build arbitrary queries. Instead you might want to do something like:
Thank you both of you. I am in the enjoyable spot of learning JavaScript and observable framework at the same time :). Yesterday I was reading for the first time template literals …
Interestingly chatgpt (and its ilk) has helped out but doesnt compete at all with experts here.