select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(10) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(10) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(10) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(10) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(10) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(10) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(10) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(10) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(10) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(20) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(20) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(20) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(20) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(20) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(20) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(20) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(20) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(20) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(40) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 0 count_window(40) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(40) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 1 count_window(40) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(40) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 2 count_window(40) limit 100 ;

select _wstart, _wend, first(*), last(*), count(*) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), last(u_tinyint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(40) limit 100;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), last(u_tinyint_col), last(u_smallint_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(40) limit 100 ;
select _wstart, _wend, first(u_tinyint_col), first(u_smallint_col), first(u_int_col), last(u_tinyint_col), last(u_smallint_col), last(u_int_col), count(u_tinyint_col) from test_vtable_select.vtb_virtual_stb where int_tag = 3 count_window(40) limit 100 ;
