text: -- phpMyAdmin SQL Dump
  -- version 4.4.4
  -- http://www.phpmyadmin.net
  --
  -- Host: localhost
  -- Generation Time: May 12, 2015 at 01:32 AM
  -- Server version: 5.6.24
  -- PHP Version: 5.5.14
  
  SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  SET time_zone = "+00:00";
  
  
  /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  /*!40101 SET NAMES utf8 */;
  
  --
  -- Database: `Restaurant`
  --
  
  -- --------------------------------------------------------
  
  --
  -- Table structure for table `Comment`
  --
  
  CREATE TABLE IF NOT EXISTS `Comment` (
    `commentID` int(11) NOT NULL,
    `userID` int(11) NOT NULL,
    `restaurantID` int(11) NOT NULL,
    `rating` int(11) NOT NULL,
    `comment` text NOT NULL
  ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=latin1;
  
  --
  -- Dumping data for table `Comment`
  --
  
  INSERT INTO `Comment` (`commentID`, `userID`, `restaurantID`, `rating`, `comment`) VALUES
  (10, 1, 1, 1, 'Testing, should produce new rating 3.'),
  (11, 1, 1, 5, 'Testing, new rating should produce a 4?');
  
  --
  -- Indexes for dumped tables
  --
  
  --
  -- Indexes for table `Comment`
  --
  ALTER TABLE `Comment`
    ADD PRIMARY KEY (`commentID`),
    ADD KEY `userID` (`userID`),
    ADD KEY `restaurantID` (`restaurantID`);
  
  --
  -- AUTO_INCREMENT for dumped tables
  --
  
  --
  -- AUTO_INCREMENT for table `Comment`
  --
  ALTER TABLE `Comment`
    MODIFY `commentID` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=12;
  /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  