SQL Syntax for NOT IN and EXCEPT -
i have database of genes different samples , sql commands retrieve: 1) genes uniquely obtained 1 sample 2) genes observed in both samples.
the database structure such geneids integers (incremental), simple reason samples may have reoccurring gene names.
i have tried not in , except getting incorrect results. want avoid writing java code achieve this.
thanks.
the following return how many times each genename appears
select genename, count(*) genes group genename;
Comments
Post a Comment