i have two tables 1.table of videos which looks like
VideoID int
VideoTitle varchar(max)
Videodescripton etc...
and second table Comments which has
CommentID
VideoID
Comments etc..
now i want to get top 5 latest videos ids from the comments table how i will do that.. by using distinct is not the solution..
VideoID int
VideoTitle varchar(max)
Videodescripton etc...
and second table Comments which has
CommentID
VideoID
Comments etc..
now i want to get top 5 latest videos ids from the comments table how i will do that.. by using distinct is not the solution..
Comment