Table adhérent

This commit is contained in:
2025-08-28 11:45:01 +02:00
parent 8ca251a530
commit 2c7f481e32
4 changed files with 18 additions and 6 deletions

View File

@@ -1,3 +1,14 @@
create table adherent (
id int primary key,
nom text,
prenom text,
genre text,
naissance date,
pays text
);
\COPY adherent FROM '/tmp/adherent.csv' (FORMAT CSV, header, ENCODING 'UTF8');
create table famille (
famille text primary key,
intitule text,
@@ -24,8 +35,8 @@ create table article (
create table ticket (
id int primary key,
horodatage timestamp,
client text,
date_ticket timestamp,
client_id int,
mode_rglt int
);