I would need a nice way to select a set of values as rows.
这方面的一个例子是,我想做的是:
mysql> select 1 as v union select 2;
+---+
| v |
+---+
| 1 |
| 2 |
+---+
2 rows in set (0.00 sec)
mysql>
www.un.org/spanish/ecosoc 是否有更好的办法来撰写这种问询?
The list of values is known at query generation time.