关于SQL中的DELETE
--select*fromadminorderbypasswordcollatechinese_prc_stroke_ci_asdesc--updateadminsetp...
--select * from admin order by password collate chinese_prc_stroke_ci_as desc --update admin set password = 'admin' from admin where id=1 --update admin set password = 'password' from admin where username='username' select * from admin --insert into admin (id,username,password) values (3,'nadsaewaa','tedffdacddcher') --select top 1 (select substring(username,1,1) from admin where id=1) + (select substring(username,2,1) from admin where id =2) as 'as'from admin --update admin set id = 1 from admin where id =2 下面我想删除以ID=1倒叙,第一条记录. 我晓得DELETE中没有TOP 1这个用法.能用新手看的懂的来解决下么?
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询