News for hackers. Stuff that matters.
Re:Show HN: PRQL 0.2 – a better SQL by layer8 on Monday June 27, 2022 @10:11PM (#31903356)
> How can you ensure that a school is either a college or high_school but not both?

If the DBMS supports it, you can add check constraints that query the other tables. See for example here: https://stackoverflow.com/a/2588427

There are no comments on this comment yet.