E.R.F.P.P. - Centre de Documentation
select distinct uni.typdoc, sum(nbexplnum) as nbexplnum from (select distinct notices.typdoc, count(explnum_id) as nbexplnum from notices JOIN responsability ON notice_id=responsability_notice left join explnum on explnum_mimetype in () and explnum_notice = notice_id ,notice_statut where responsability_author in ('5630' ) and statut=id_notice_statut and ((notice_visible_opac=1 and notice_visible_opac_abon=0)) group by notices.typdoc union select distinct notices.typdoc, count(explnum_id) as nbexplnum from notices JOIN responsability ON notice_id=responsability_notice left join bulletins on bulletins.num_notice = notice_id and bulletins.num_notice != 0 left join explnum on explnum_mimetype in () and explnum_bulletin != 0 and explnum_bulletin = bulletin_id ,notice_statut where responsability_author in ('5630' ) and statut=id_notice_statut and ((notice_visible_opac=1 and notice_visible_opac_abon=0)) group by notices.typdoc) as uni group by uni.typdoc
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') and explnum_notice = notice_id ,notice_statut where responsability_author ' at line 1
select * from aut_link where (aut_link_from='1' and aut_link_from_num='5630') order by aut_link_type, aut_link_string_start_date, aut_link_string_end_date, aut_link_rank
Unknown column 'aut_link_rank' in 'order clause'
Détail de l'auteur
Auteur Fotolia
Commentaire :
Illustrateur
|
Documents disponibles écrits par cet auteur (1)
texte imprimé
Le principe du "zéro déchet" ? Des gestes simples et des habitudes à prendre pour consommer moins et mieux, éviter le gaspillage, recycler, récupérer, valoriser et jeter le moins possible. Ce guide vous accompagne pas à pas pour aborder sereinem[...]