× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Sorry .

I hope the table now is more clear



codeVet Year_Inv nro_inv type_inv

000 23 63509 G

046 23 71490 G

046 23 71490 H

046 23 75569 G

046 23 75978 G

046 23 76078 G



Hi all



Suppose i have a table with this data




codeVet

Year_Inv

nro_inv

type_inv


000

23

63509

G


046

23

71490

G


046

23

71490

H


046

23

75569

G


046

23

75978

G


046

23

76078

G



With Sql i would get :



The nro Invoice for every CodeVet_vet excluding the nro_inv the have two or
more row (in this case the nro_inv 23-71490) ; so the result that i would
need, is



CodeVet Nro_inv

000 1

046 3



Thanks in advance

Gio






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.