FORCE INDEX mySQL …where do I put it?
I have the following mySQL query that works perfectly fine. Except that I need to add a "FORCE INDEX" and I'm unsure on where I have to do this. I tried just about every location and always receive a mySQL error. What am I doing wrong? Here is the original query: $sql_select_recent_items = $db->query("SELECT * FROM (SELECT owner_id, product_id, start_time, price, currency, name, closed, active, approved, deleted, creation_in_progress FROM db_products ORDER BY start_time DESC) as resultstable WHERE resultstable.closed=0 AND resultstable.active=1 AND resultstable.approved=1 AND resultstable