uncommitted changes from other people... again

This commit is contained in:
TMA 2025-03-30 20:55:00 +02:00
parent 6749b2c97a
commit e04d614e15
5 changed files with 32 additions and 5 deletions

8
brmbar3/USEFUL.txt Normal file
View file

@ -0,0 +1,8 @@
Accounts with multiple barcodes:
SELECT accounts.name,barcodes.account,barcodes.barcode
FROM "barcodes"
join accounts on accounts.id = barcodes.account
where barcodes.account in (select a from (select count(*) as c, account as a from barcodes group by account) as dt where c > 1)
ORDER BY "account" DESC