CREATE PROCEDURE Selectbycontent
@content varchar(100)
AS
BEGIN
select c.id,[name],title,createtime,caid from news n join category c on n.caid=c.id
where n.content like '%'+@content+'%'
order by createtime desc
END
GO
根据内容取出新闻的内容
最新推荐文章于 2022-02-25 20:00:37 发布