'0000-00-00 00:00:00' group by curso"); $res = mysql_query("select curso,count(*) from notas where pagamento like 'p%' and (enc='S' or enc='F') and hde<>'0000-00-00 00:00:00' group by curso"); ?>
'; ?>