Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的表中有很多列,所以如果我使用 select ......(所有列),我的查询看起来会很乱。我可以使用 t.* 然后说排除此列吗?
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.
ALL
*
SELECT