Mysql
 sql >> Database >  >> RDS >> Mysql

Restituire tutte le righe dalla sottoquery SQL?

SELECT a.* 
  FROM commenttoarticle a 
  JOIN commenttoarticle b
    ON b.CommentToArticlePID = a.idCommentToArticle 
 ORDER  
    BY a.idCommentToArticle DESC 
 LIMIT 3