SQLite Forum

Can this SQL be simplified?
Login
Thanks. That allowed me to replace six selects with two.