Jump to content

Archived

This topic is now archived and is closed to further replies.

sharpdust

table within a table?

Recommended Posts

Is it possible to insert a table inside of a another table? And what would be the sql command to do it?

 

For example, I have a form that will have 4 checkboxes. Rather than creating 4 fields within my table for those checkboxes, I would rather create a field that is a table with the 4 fields within it.

 

Another example of this would simply be a poll with 4 options.

 

Thanks.

Share this post


Link to post
Share on other sites

while you cannot put a table within a table, you can use the data types ENUM or VARCHAR to achieve the same effect.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.