
column PDB_ID format a10 trunc;
select MMS_ENTRY.id as PDB_ID, count(*) as CYS_RESIDUES
    from MMS_ENTRY, ENTITY_POLY_SEQ
    where MMS_ENTRY.entry_key=ENTITY_POLY_SEQ.entry_key
	and ENTITY_POLY_SEQ.mon_id='CYS'
    group by MMS_ENTRY.id 
    order by CYS_RESIDUES ;
