I have a table cont开发者_如何学Goaining five columns. How can I display only the first three columns of the table using the number of columns like 3 instead of writing the column name?
You cannot do that.
You have to list the columns by name. The column "position" has no meaning in a relational database (just like a row does not have a "position").
精彩评论