Hi,
I'm looking how can I do to insert multiple values from a
complexe query.
What I want to do is something like that :
INSERT INTO est_planifie_jour (id,ref_activite,ref_ressource,ref_jour)(SELECT nextval('est_p_id_p') FROM
est_planifie),(SELECTid_activite FROM activite WHEREnom = 'SGBD 02 cours th�orique),
(SELECT ref_ressource FROM personne,groupe,fait_partieWHERE groupe.nom ='cycle 1b' ANDfait_partie.ref_groupe =
groupe.id_groupeAND
personne.id_personne = fait_partie.ref_personne),
(SELECT id_jour FROM jour WHERE jour.id_jour = 3)
Does anyone can advice me ?
--
/**
* Alexandre Jaquet
*/