use test; select count(*) from tb\G; select last(*) from tb\G; select last_row(*) from tb\G; select first(*) from tb\G;