1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| with DO_dossier (DO_ident, DO_nom, DO_date) as
(select 1, 'tata', '2023-11-01' union all
select 2, 'toto', '2023-11-02' union all
select 3, 'tutu', '2023-11-03'
)
, CO_comment (Co_ident, DO_ident, CO_texte, CO_dth, CO_user) as
(select 1, 2, 'bla bla bla', '2023-11-02 18:15:00', 'user' union all
select 2, 2, 'truc muche', '2023-11-02 09:30:00', 'admin' union all
select 3, 2, 'bidule', '2023-11-02 16:20:00', 'user' union all
select 4, 1, 'coucou', '2023-11-01 19:30:00', 'user' union all
select 5, 1, 'azerty', '2023-11-01 20:00:00', 'martin' union all
select 6, 3, 'commentaire', '2023-11-03 08:30:00', 'josé' union all
select 7, 3, 'des trucs', '2023-11-03 17:44:00', 'simone' union all
select 8, 3, 'tagada', '2023-11-03 16:31:00', 'user'
) |
Partager