从每个分类中取5条记录的SQL语句怎么写?
程序代码:CREATE TABLE article
(
ID int auto_increment,
title varchar(250) NOT NULL,
type int not null,
content text,
date timestamp not null,
primary key(id)
);
type表示文章的分类.
现在想从每个分类中取出最新发布的5条记录,用一个SQL语句能不能实现呀?






