Hello,
I learn SQL SERVER.
I wrote:
SELECT
"All"
UNION SELECT DISTINCT
KindsColumn From ProductsTable
I obtain:
----------------------
1. AA_kind
2. AB_kind
3. All
4. B_kind
5. Z_kind
But i take it into DropDownList where 'All' should be at the top.
I would like to obtain (where 2-5 are sorted)
---------------------------
1. All
2. AA_kind
3. AB_kind
4. B_kind
5. Z_kind
Thank You fot the answer. It will be nice lesson for me.
I learn SQL SERVER.
I wrote:
SELECT
"All"
UNION SELECT DISTINCT
KindsColumn From ProductsTable
I obtain:
----------------------
1. AA_kind
2. AB_kind
3. All
4. B_kind
5. Z_kind
But i take it into DropDownList where 'All' should be at the top.
I would like to obtain (where 2-5 are sorted)
---------------------------
1. All
2. AA_kind
3. AB_kind
4. B_kind
5. Z_kind
Thank You fot the answer. It will be nice lesson for me.
Comment