sql 语句 获取某张表某列字段最短的某几行数据
SELECT C_name,C_code FROM Catalog
where LEN(C_code)=LEN((SELECT top 1 C_code
FROM Catalog
order By LEN(C_code)))
原文地址:https://www.cnblogs.com/woniucode/p/10455406.html
时间: 2024-10-07 14:17:38
sql 语句 获取某张表某列字段最短的某几行数据
SELECT C_name,C_code FROM Catalog
where LEN(C_code)=LEN((SELECT top 1 C_code
FROM Catalog
order By LEN(C_code)))
原文地址:https://www.cnblogs.com/woniucode/p/10455406.html