Hi.
Sorry for my intrusion…
I’d like to say three things:
- In inline fields you don’t need to use quotes if multiple values are links:
locations:: [[Madrid]], [[Barcelona]], [[Granada]]
-
For links you don’t need to use the syntax for strings (the quotation marks) in the commands. Instead of
WHERE contains(locations, "Granada")
useWHERE contains(locations, [[Granada]])
-
To a rigorous query, instead of the “construction” of the column results (
[[Granada]] as Location
) you need to apply the filter function:
TABLE WITHOUT ID
film as Film, year AS Year,
filter(locations, (l) => l = [[Granada]]) as Location
FROM #peninsulafilms
WHERE contains(locations, [[Granada]])
SORT year DESC, title ASC