1,sql查询语句

用这个语句来取第4条记录 select top 1 * from 表名称 where id not in(select top 3 id from 表名称)

sql查询语句

2,SQL的查询语句是什么

这要运用SQL的联结查询,使用select 字段名 from 表名 where 条件 (select 字段名(注意:此字段要和前面的字段一样)from 表名(另一个表)where 条件)

SQL的查询语句是什么

3,数据库常用的查询语句是什么

select *(字段) from table(表名) where XX(字段)=XXX(条件) 常见简单查询
select .... from ...[where..] [group by ..] [order by ...]
select * from 表名 where 列名=查询的条件 and 。。。
select

数据库常用的查询语句是什么


文章TAG:数据库都有哪些查询语句  sql查询语句  
下一篇