test.sql 463 B

1234567891011121314151617181920212223
  1. --
  2. -- Table
  3. --
  4. CREATE TABLE IF NOT EXISTS `test` (
  5. `age` tinyint(3) unsigned NOT NULL,
  6. `gender` enum('female','male') NOT NULL,
  7. `zipcode` varchar(5) NOT NULL
  8. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  9. --
  10. -- Data
  11. --
  12. INSERT INTO `test` (`age`, `gender`, `zipcode`) VALUES
  13. (34, 'male', '81667'),
  14. (45, 'female', '81675'),
  15. (66, 'male', '81925'),
  16. (70, 'female', '81931'),
  17. (34, 'female', '81931'),
  18. (70, 'male', '81931'),
  19. (45, 'male', '81931');