TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

SQL X-to-Y

64 pointsby panda17over 4 years ago

6 comments

Footkerchiefover 4 years ago
A Postgres feature I took way too long to discover: exclusion constraints, which is essentially &quot;unique by some function of a column value&quot; instead of &quot;unique by a column value&quot;: <a href="https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;13&#x2F;ddl-constraints.html#DDL-CONSTRAINTS-EXCLUSION" rel="nofollow">https:&#x2F;&#x2F;www.postgresql.org&#x2F;docs&#x2F;13&#x2F;ddl-constraints.html#DDL-...</a>
评论 #24962448 未加载
gbergerover 4 years ago
Why do I have to complete a captcha to access this website?
评论 #24961731 未加载
评论 #24961798 未加载
评论 #24961514 未加载
评论 #24961775 未加载
评论 #24961567 未加载
评论 #24961364 未加载
SPBSover 4 years ago
I find the notation compact but confusing. Are Thing and Category essentially tables? What does `thing {T, C}` mean, if T already means Thing?
评论 #24961952 未加载
mulmenover 4 years ago
Is there further discussion of the &quot;Alternate Key&quot; somewhere? This is a new term to me. Is it like a candidate key?
评论 #24962359 未加载
评论 #24962414 未加载
tafferover 4 years ago
SQL Assertions are incidentally the most requested feature for the Oracle database: <a href="https:&#x2F;&#x2F;community.oracle.com&#x2F;tech&#x2F;apps-infra&#x2F;discussion&#x2F;4390732&#x2F;sql-assertions-declarative-multi-row-constraints" rel="nofollow">https:&#x2F;&#x2F;community.oracle.com&#x2F;tech&#x2F;apps-infra&#x2F;discussion&#x2F;4390...</a>
评论 #24962330 未加载
mongolover 4 years ago
What is AK? I know PK and FK but AK has escaped me... at least the acronym...
评论 #24966455 未加载