摘要:
delete from A where UserName in (select UserName from A group by UserName having count(UserName)>1) and UserID not in (select min(UserID) from A group 阅读全文
摘要:
大致分为两种情况:ID连续和ID不连续。 1.ID连续的情况: select * from A where ID between 31 and 40 2.ID不连续的情况: (1).两次对表查询,效率较低。 select top 10 * from A where ID not in (select 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 斐波那契数列求和 { class Program 阅读全文
摘要:
用了两种形式的数据,一个是泛型List,一个是数据int[]。记录一下,作为自己学习过程中的笔记。 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.T 阅读全文