home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 88 / PIWD88.iso / mac / contents / developer / tutorial_files / Pages90-91 / dbpoll.sql next >
Text File  |  2003-11-02  |  1KB  |  54 lines

  1. -- MySQL dump 9.09
  2. --
  3. -- Host: localhost    Database: dbpoll
  4. ---------------------------------------------------------
  5. -- Server version    4.0.15-nt
  6.  
  7. --
  8. -- Table structure for table `tblanswers`
  9. --
  10.  
  11. CREATE TABLE tblanswers (
  12.   answerID int(11) NOT NULL auto_increment,
  13.   questionID int(11) default NULL,
  14.   answerText varchar(255) default NULL,
  15.   PRIMARY KEY  (answerID)
  16. ) TYPE=MyISAM;
  17.  
  18. --
  19. -- Dumping data for table `tblanswers`
  20. --
  21.  
  22.  
  23. --
  24. -- Table structure for table `tblquestions`
  25. --
  26.  
  27. CREATE TABLE tblquestions (
  28.   questionID int(11) NOT NULL auto_increment,
  29.   questionText varchar(255) default NULL,
  30.   PRIMARY KEY  (questionID)
  31. ) TYPE=MyISAM;
  32.  
  33. --
  34. -- Dumping data for table `tblquestions`
  35. --
  36.  
  37.  
  38. --
  39. -- Table structure for table `tblresponse`
  40. --
  41.  
  42. CREATE TABLE tblresponse (
  43.   responseID int(11) NOT NULL auto_increment,
  44.   questionID int(11) default NULL,
  45.   answerID int(11) default NULL,
  46.   PRIMARY KEY  (responseID)
  47. ) TYPE=MyISAM;
  48.  
  49. --
  50. -- Dumping data for table `tblresponse`
  51. --
  52.  
  53.  
  54.