欢迎来到.net学习网
欢迎联系站长一起更新本网站!QQ:879621940
string preSql = "select * from [news] where news_id = (select MAX(news_id) from [news] where news_id<" + id + ")"; string nextSql = "select * from [news] where news_id = (select MIN(news_id) from [news] where news_id>" + id + ")";
打赏
感谢您的支持,我会做的更好!
打开支付宝扫一扫,即可进行扫码打赏哦
上一篇:没有了
下一篇:更改SQL数据库名称