sql语句学习
按id倒序查询前5条数据
select top 5 * from table order by id desc
查询前百分之50
select top 50 percent * from table
查询符合多个条件
select * from table where country = 'usa' or country = 'cn'
插入行、列
insert into table values(value1,value2)
insert into table(id,name,n
原创
2021-06-25 15:33:32 ·
144 阅读 ·
0 评论