Yes, I believe both tags are appropriate, although I can see that they might both be used for the same thing at times.
I would use attribute if I was asking something to do with actual attribute data, whereas I'd use attribute-table if my question was related to creating or modifying the actual table, table-structure, field-types (although there are separate tags for that).
To me there is enough difference between attribute and attribute-table to keep them separate.
In particular, as commented by @nmtoken:
Attributes can apply to data that is not tabulated, such as in XML or JSON.