By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Records: 6 Duplicates: 0 Warnings: 0
entry | language |
---|---|
xyz | 2 |
bcd | 1 |
pqr | 2 |
uvw | 2 |
abc | 1 |
def | 1 |
language | (select entry from entries e1 where e1.language = e.language order by rand() limit 1) |
---|---|
1 | def |
2 | xyz |