I wouldn't recommend that on a very large table. Talk about a resource hog with two full table scans.
I'd recommend limiting it to a distinct number. Using percentages, if the table has 100 rows, then you pull back 25. If it has 1,000,000, then you're pulling back 250,000, which is most likely not what the user wanted.