Retrouver les lecteurs qui ont plusieurs comptes (! homonymes)
Archives annuelles: 2018
MO : Monographie CO : Ouvrage Concours OR : Ouvrage Référence SU : Suites US : Usuels TP : Tirés à part PE : Périodiques Enquête : ESGBU SELECT YEAR(items.dateaccessioned) AS DATE_ACQU, COUNT(DISTINCT items.biblionumber) AS NB_NOTICES, COUNT(items.biblionumber) AS NB_VOLUME FROM […]
SELECT champ_de recherche FROM table WHERE champ_de_recherche=<<libelle_champ|valeur_autorisee>> Exemple : RECHERCHE GUIDEE PAR TYPE DE DOCUMENT SELECT biblio.title AS Titre, biblio.author AS Auteur, biblioitems.publicationyear AS Date, items.barcode AS Code_barres, items.itemcallnumber AS Cote FROM items,biblio,biblioitems WHERE items.itype=<<TYPE : |ITYPE>> AND items.biblionumber = […]
SELECT borrowers.borrowernumber, borrowers.surname, borrowers.firstname, borrowers.cardnumber, borrower_attributes.code, borrower_attributes.attribute FROM borrowers LEFT JOIN borrower_attributes ON (borrowers.borrowernumber=borrower_attributes.borrowernumber) LEFT JOIN borrower_attribute_types ON (borrower_attribute_types.code=borrower_attributes.code) GROUP BY borrower_attributes.attribute ORDER BY borrowers.surname, borrowers.firstname ASC Résultat :