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))) ...
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)))