Ver Mensaje Individual
  #9 (permalink)  
Antiguo 29/07/2009, 18:59
Avatar de huesos52
huesos52
Colaborador
 
Fecha de Ingreso: febrero-2009
Ubicación: Manizales - Colombia
Mensajes: 5.980
Antigüedad: 15 años, 2 meses
Puntos: 360
Respuesta: select complejo

te recomiendo hagas todas las relaciones de las tablas haciendo uso de inner join
Por ejemplo

Código sql:
Ver original
  1. SELECT * FROM bg_posts
  2. INNER JOIN
  3. (SELECT MAX(id) AS id FROM bg_posts GROUP BY post_title) ids
  4. ON bg_posts.id = ids.id
  5. INNER JOIN
  6. bg_plataformas
  7. ON cave=clave
  8. INNER JOIN
  9. bg_categories
  10. ON clave=clave
  11. WHERE post_publicado=1 ORDER BY post_date DESC LIMIT 100
__________________
Without data, You are another person with an opinion.
W. Edwads Deming