i noticed that
(SELECT title, relavency, 'search1' as source FROM search1 ORDER BY relavency DESC LIMIT 10) UNION (SELECT title, relavency, 'search2' as source FROM search2 ORDER BY relavency DESC LIMIT 10) ORDER BY relavency DESC LIMIT 10
the last LIMIT 10 does not work. why?
the error was
"Error code 1064: ... to use near 'LIMIT 1000'"
how come mysql workbench detects LIMIT 10 as LIMIT 1000, but if its 1000 it shld work still?