dbInterface error: db_query with invalid SQL-statement.

<SELECT DISTINCT DAO.ID_DAO AS OID, DAO.NUM_DAO
							FROM DAO, PRO, VAR, PRI, WST, DAO_RLX
							WHERE IS_ACTIVE_DAO AND (PUB_FROM_DAO IS NULL OR PUB_FROM_DAO <= NOW()) AND (PUB_TO_DAO IS NULL OR PUB_TO_DAO >= NOW()) AND DAO.ID_DAO = PRO.ID_DAO AND WST.ID_DAO = PRO.ID_DAO AND VAR.ID_DAO = DAO.ID_DAO AND PRI.ID_VAR = VAR.ID_VAR AND DAO_RLX.NUM_FROM_DAO IN () AND DAO_RLX.ID_TO_DAO = PRO.ID_DAO AND ASSOC_RLX = 'P2G' AND PRICE_PRI > 0 AND PRICE_PRI / OLDPRICE_PRI <= 0.5>
 Process aborted