Files
template/lesson.-1.sql
T
2026-10-01 07:13:52 +00:00

42 lines
837 B
SQL

create table card (
card_id int
card_name text
card_stage text
card_hp int
card_pokidex_number int
card_species
card_height_m numeric
card_weight_kg numeric
card_number_in_set text
card_retrat_cost int
card_release_year int
card_set_id int
card_ellement_type_id int
card_illustrator_id int
);
create table card_set (
card_set_id int
card_set_name text
card_set_code text
set_total_cards int
set_release_date date
);
create table attack (
attack_id int
attack_name text
attack_base_damage text
attack_effect text
attack_card_id int
);
create table element_type (
element_type_id int
element_type_name text
);
create table illustrator (
illustrator_id int
illustrator_name text
);