Thanks Tony, will give it a try using your statement. If it works, perfect. Steve J Sent from my BlackBerry KeyOne
I'm on my mobile so I'll be brief. You could use project, than remove unwanted rows. Project temporary scantable using all The above statement can also contain a where clause to limit by a date for instance next remove unwanted from temp table DELETE ROWS FROM scantable WHERE SCANID IN (SELECT SCANID FROM mainscantable GROUP BY scanid HAVING COUNT(scanid) < 20) Just as a quick thought On Mon, Jan 25, 2021, 1:18 PM Steve Johnson <[email protected]> wrote:
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/CABnhDAQy-z9nKD%3Dtp8sUT89H%3D90ThtwjP6NJc7nJT%2BSbENCtUw%40mail.gmail.com. For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/5niamsqp147ji0amluc9somo.1611607239589%40sprintmail.com. | ||
- [RBASE-L] - Question of Group By and Having Clause Steve Johnson
- Re: [RBASE-L] - Question of Group By and Having Clause Tony Luck
- Re: [RBASE-L] - Question of Group By and Having Cla... Steve Johnson
- Re: [RBASE-L] - Question of Group By and Having... Tony Luck
- RE: [RBASE-L] - Question of Group By and Ha... Steve Johnson
- Re: [RBASE-L] - Question of Group By and Having Clause Tony Luck

