从没有列名称的查询中选择数据

问题描述:

我在VBA中使用SQL来填充电子表格,但是当我这样做时,我得到包括列标题的数据。我试图找出来拉出信息,没有列名。

I'm using SQL in VBA to populate a spread sheet, but when I do this I get the data including the column headers. I am trying to find away to pull just the information out and no column names.

例如,

id name job
0  Tom  Repair
1  Bob  Tech

而不是我想要

0  Tom  Repair
1  Bob  Tech


我不知道你可以没有列标题...注意:是mysql,不知道你的dbms,但是这是我最接近的:

I'm not sure that you can have no column headers... Note: this is mysql, not sure about your dbms, but this is the closest I got:

SELECT id as "", name as "", job as "" FROM table