gilbert189 — 9/17/2022, 2:34:05 AM
sqlite> select avg(loves), (select name from users order by rowid asc) from posts where poster=(select id from users order by rowid asc);
┌──────────────────┬─────────────────────────────────────────────┐
│    avg(loves)    │ (select name from users order by rowid asc) │
├──────────────────┼─────────────────────────────────────────────┤
│ 15.5070422535211 │ jeffalo                                     │
└──────────────────┴─────────────────────────────────────────────┘

aw come on

♥ 2 ↩ 0 💬 1 comment

comments

oren:

What is this? I don't know SQL

9/17/2022, 3:08:34 AM