SQL syntax term for 'WHERE (col1, col2) < (val1, val2)'

前端 未结 3 790
梦谈多话
梦谈多话 2020-11-30 11:50

As my question states, I would like to know what we call types of queries with that type of condition in the WHERE clause, i.e.:

SELECT * FROM m         


        
3条回答
  •  自闭症患者
    2020-11-30 12:29

    Expression Lists

    Use of Row Value Constructors (RVC) in Comparison Predicates - quite a long term

    RVCs are usually seen in INSERT statements, but rarely as part of WHERE clauses.

    I doubt that this syntax has a direct support in JPA or Hibernate Criteria API, but there is always a workaround to achieve the same logic.

提交回复
热议问题