<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hotei</author_name>
  <author_url>https://blog.hatena.ne.jp/Hotei/</author_url>
  <blog_title>シゴトメモ</blog_title>
  <blog_url>https://hotei.hatenadiary.org/</blog_url>
  <categories>
    <anon>PostgreSQL</anon>
  </categories>
  <description>技術的には、プライマリキー制約は単純に一意性制約と非NULL制約を組み合わせたものです。つまり、次の2つのテーブル定義は同じデータを受け入れます。 CREATE TABLE products ( product_no integer UNIQUE NOT NULL, name text, price numeric );CREATE TABLE products ( product_no integer PRIMARY KEY, name text, price numeric );プライマリキーでも複数の列を制約することができ、その構文は一意性制約に似ています。 CREATE TABLE e…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhotei.hatenadiary.org%2Fentry%2F20050810%2F1123692570&quot; title=&quot;テーブル操作 プライマリキー制約 - シゴトメモ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2005-08-10 01:49:30</published>
  <title>テーブル操作 プライマリキー制約</title>
  <type>rich</type>
  <url>https://hotei.hatenadiary.org/entry/20050810/1123692570</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
