INSERT INTO procs set name='4.9. Liste des exemplaires de périodiques pour inventaire', requete='SELECT tit1 AS \'Titre du périodique\', bulletin_numero as \'Numéro de bulletin\', mention_date AS \'Libellé de période\', date_date AS \'Date de parution\', CONCAT(\"\'\",expl_cb,\"\'\") AS \'Code-barres\', expl_cote AS Cote, IF(pret_idexpl = expl_id, \'Sorti\', IF(idstatut=1, \'\', statut_libelle)) as \'Disponibilité\' FROM notices, bulletins, docs_statut, exemplaires LEFT JOIN pret ON pret_idexpl = expl_id WHERE notice_id IN(!!titre!!) and expl_bulletin=bulletin_id and bulletin_notice=notice_id AND expl_statut=idstatut group by expl_cb order by tit1, date_date', comment='Choix d\'un ou plusieurs titres de périodiques', autorisations='1', parameters=' query_list SELECT notice_id, tit1 from notices where niveau_biblio=\"s\" order by tit1 yes '