query for a set in a relational database

前端 未结 4 2058
失恋的感觉
失恋的感觉 2021-01-14 11:51

I would like to query a relational database if a set of items exists.

The data I am modeling are of the following form:

key1 = [ item1, item3, item5          


        
4条回答
  •  轮回少年
    2021-01-14 12:34

    This query has a well known name. Google "relational division", "set containment join", "set equality join".

提交回复
热议问题