πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #706

Re: Jak znalezc powtarzajace sie rekordy?

#706
From: Tomasz Rubaj
Date: Mon, 24 May 1999 13:19
9 lines
886 bytes
Pawel Koloszko wrote:
> 
> Jakie zapytanie zwroci mi tylko takie rekordy, ktΓ³re sie powtarzaja ?
select * from tablica t1 where exists (select id, count(*) from tablica
t2 where t1.id=t2.id group by id having count(*)>1)

Pisane z pamieci. Nie bedzie dzialac szybko :)

TRubaj
Technical Details
Message-ID: <374951D1.C6BD9578@ajax.umcs.lublin.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!lublin.pl!not-for-mail
References: <7ibipi$n5c$1@h1.uw.edu.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!uw.edu.pl!lublin.pl!not-for-mail
From: Tomasz Rubaj <trubaj_NoSpam@ajax.umcs.lublin.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Re: Jak znalezc powtarzajace sie rekordy?
Date: Mon, 24 May 1999 15:19:13 +0200
Lines: 9
Message-ID: <374951D1.C6BD9578@ajax.umcs.lublin.pl>
References: <7ibipi$n5c$1@h1.uw.edu.pl>
NNTP-Posting-Host: pc209.freeland.lublin.pl
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit