SELECT biblio.biblionumber, title, isbn, issn FROM biblio LEFT JOIN biblioitems USING(biblionumber) LEFT JOIN items USING(biblionumber) WHERE itemnumber is NULL
SQL astuces
14 articles
Exemple sur le 995$l (et oui… curieusement on interroge le 999) SELECT items.barcode, biblio.title, biblio.author, (SELECT description FROM itemtypes WHERE itemtype=itype) as typedoc, (SELECT lib FROM authorised_values WHERE category=’statut’ AND authorised_value=notforloan) As statutencours FROM items LEFT JOIN biblioitems on (items.biblioitemnumber=biblioitems.biblioitemnumber) […]