SQLite Forum

Can this SQL be simplified?
Login
Does

limit max((select count(*) from T2)-(select maxrows from T1), 0)

not work?