1

我有 1 个包含 3 列的单表,例如 col1、col2、col3

价值观:

col1 with values (in individual 3 rows) as a, b, c
col2 with values (in individual 3 rows) as b, c, d
col3 with values (in individual 3 rows) as c, d, e

目标:

要按字母顺序在 html 下拉框中填充不同的列表(即我想要 a、b、c、d、e)?

4

1 回答 1

0

伪代码:

Select col1 from table
UNION
Select col2 from table
UNION
Select col3 from table
于 2012-05-10T09:30:28.280 回答