I am trying to get all titles that contain a certain word from my database in XQuery in SQL I would use WHERE title LIKE '%England%'
- I am wondering how to do this in XQuery?
(我正在尝试从SQL的XQuery数据库中获取包含某个单词的所有标题,而我会使用WHERE title LIKE '%England%'
-我想知道如何在XQuery中做到这一点?)
My XQuery query looks like this:
(我的XQuery查询如下所示:)
(:Selects document:)
for $x in doc ("tmdb_5000_movies(1).xml")/movies/movie
(: :)
where $x/title (:NOT SURE WHAT TO PUT HERE:)
(:0:)
return $x/ *
ask by BradleighJL translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…