select title,author,article,ArticleID,summary,categories.catID,base from articles,categories where categories.CatID=3 and categories.catID=articles.catID and ArticleID='#id#' select ArticleID from articles where CatID=3 select title,author,article,articleID,summary,categories.catID,base from articles,categories where categories.CatID=3 and categories.catID=articles.catID and ArticleID='#listlast(listaIDS)#'