I would like to do something as:
SELECT ROWNUM FROM ALL_OBJECTS
WHERE ROWNUM <= 100000
Which large table do we have in MysQL?
I would like to do something as:
SELECT ROWNUM FROM ALL_OBJECTS
WHERE ROWNUM <= 100000
Which large table do we have in MysQL?
Yes, there is. Look at INFORMATION_SCHEMA, pick the largest table in there.
Documentation here: http://dev.mysql.com/doc/refman/5.7/en/information-schema.html
But I must say that this is a very clunky way of producing a long sequence of numbers. There may be better ways, but you are not going to receive them with this question, because you have not really asked a question, you have asked an answer. You might want to ask a question instead, beginning by explaining what it is that you want to achieve, instead of coming up with a wacky idea about how to achieve it, and asking how to implement your wacky idea.