use database
select NewsCategoryInfo.NewsCategoryName as 新闻种类, NewsInfo.NewsTitle as 新闻标题 From NewsCategoryInfo inner joinNewsInfo on NewsCategoryInfo.NewsCategoryID= NewsInfo.NewsCategoryID
delete from NewsInfo where NewsID=id
insert into NewsInfo(NewsTitle ) value("国际news")
update
NewsInfo set NewsTitle=" 娱乐新闻“
where NewsID=3
本文介绍使用SQL进行新闻信息的查询、删除、插入和更新操作,包括选择新闻种类和标题、删除指定ID的新闻、插入新新闻标题以及更新现有新闻标题。
3394

被折叠的 条评论
为什么被折叠?



