Well,
I need to query 2 seperate tables, the first query has to have results appear 10 times more often than the 3rd query, the second query has to have results appear 5 times more often than the 3rd query and if no results from 1,2, or 3, I need to select rand from the 4th table.
So, what I figured I'd do is:
query the 1st table with conditions and insert the results 10x into a temp table, query the 1st table with different conditions and insert the results 5 x into temp table, query the 2nd table with conditions and put results in temp table.
Count the records of the temp table, if 0 select rand from the default table, if !=0, select rand from temp table.