From dbcb40189a24deba15ca9f04c9549c3ad08b79e3 Mon Sep 17 00:00:00 2001 From: Stas Date: Thu, 1 Oct 2026 07:17:58 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20lesson1.sql?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lesson1.sql | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lesson1.sql b/lesson1.sql index b2a6e45..b3fedb5 100644 --- a/lesson1.sql +++ b/lesson1.sql @@ -1,5 +1,5 @@ Table card { - card_id int [pk] + card_id int [primary key] card_name text [not null, unique] card_hp int [not null] card_set_id int [not null] @@ -7,36 +7,36 @@ Table card { } Table illustrator { - illustrator_id int [pk] + illustrator_id int [primary key] illustrator_name text [not null] } Table card_set { - card_set_id int [pk] + card_set_id int [primary key] card_set_name text [not null, unique] card_set_code text [not null, unique] card_set_release_date date [not null] } Table card_attack { - card_attack_id int [pk] + card_attack_id int [primary key] card_id int [not null] attack_id int [not null] } Table attack { - attack_id int [pk] + attack_id int [primary key] attack_name text [not null] attack_base_damage int [not null] } Table element_type { - element_id int [pk] + element_id int [primary key] element_name text [not null, unique] } Table attack_energy_cost { - attack_energy_cost_id int [pk] + attack_energy_cost_id int [primary key] attack_id int [not null] element_type_id int [not null] energy_quantity int [not null]