blob: 1c1ed1807acb8361300a87153e3c7919cbf51963 [file] [log] [blame]
with
initial as
(select
(select count(*) from android_logs) as cnt,
ts, prio, tag, msg from android_logs
order by ts asc
limit 100
),
latest as
(select
(select count(*) from android_logs) as cnt,
ts, prio, tag, msg from android_logs
order by ts desc
limit 100
)
select * from initial union all select * from latest;