Proving SQL query equivalency

后端 未结 9 2424
一整个雨季
一整个雨季 2020-12-15 05:33

How would you go about proving that two queries are functionally equivalent, eg they will always both return the same result set.


As I had a specific query in

9条回答
  •  一向
    一向 (楼主)
    2020-12-15 05:57

    This sounds to me like a an NP complete problem. I'm not sure there is a sure fire way to prove this kind of thing

提交回复
热议问题