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)))
2024-01-23 18:04:16
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)))