0

我的表中有很多列,所以如果我使用 select ......(所有列),我的查询看起来会很乱。我可以使用 t.* 然后说排除此列吗?

4

1 回答 1

2

No, asterisks means ALL. Do not use * when you want to exclude some columns. The columns you want to include are only those that are specified in the SELECT query. Otherwise, if they are not in the SELECT statement, they are excluded.

于 2012-08-17T07:33:38.700 回答