MySQL data structure vs. calculated data for Checkbox type data
问题 Assuming you have a multiple boolean fields within a common category, which database storage method is more efficient for both speed and processing (for both MySQL and PHP)? For example, if choosing a car you may have a category "options" with the following selections: (GPS,Tow package,Radar,Powersteering). All options are boolean fields, which must be answered, and must be TRUE or FALSE . Is it better to set up a table with each field: CREATE TABLE IF NOT EXISTS `manycars` ( `vin` int(10)