mySQL Switch: How to give "OR" priority or importance in a SELECT statement to get a default row – SEO
Is there a simple way to do a Switch in mySQL? Consider this: SELECT * FROM table WHERE a=1 OR b=2 OR c=3 OR d=4 OR e=5 OR f=6 LIMIT 1; This will return a random row which matches any…