要查询第一列比较麻烦,如果知道第一列的列名就容易一些。 假设第一列的列名是col,并且表有主键id,那么查询第三行的第一列的值可以这么写: select top 1 col from tablename where id not in (select top 2 id from tablename)
要查询第一列比较麻烦,如果知道第一列的列名就容易一些。 假设第一列的列名是col,并且表有主键id,那么查询第三行的第一列的值可以这么写: select top 1 col from tablename where id not in (select top 2 id from tablename)