SET PAGESIZE 100;
COLUMN SMILES HEADING SMILES FORMAT A20;
SELECT COUNT(*) FROM (
SELECT DISTINCT SMILES
FROM WDI
WHERE matches(SMILES,'[N;H2,H1;!$(NC=*)]')=1
);
QUIT;
SQL*Plus: Release 8.1.5.0.0 - Production on Mon Aug 20 07:55:36 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
Connected to:
Oracle8i Enterprise Edition Release 8.1.5.0.2 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production
COUNT(*)
----------
15896
Disconnected from Oracle8i Enterprise Edition Release 8.1.5.0.2 - Production
With the Partitioning and Java options
PL/SQL Release 8.1.5.0.0 - Production