07.10.2012, 06:13
Hello! I have and I need help creating a table in PHPmyAdmin
I wrote everything you need but it gives me this error
where I wrong?
Code:
-- phpMyAdmin SQL Dump -- version 3.4.5 -- http://www.phpmyadmin.netnl6787b07dc158b...6.36117092-- Host: localhost -- Generation Time: Jul 19, 2012 at 10:26 PM -- Server version: 5.5.16 -- PHP Version: 5.3.8 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: `rgaming_gol` -- -- -------------------------------------------------------- -- -- Table structure for table `dealercars` -- CREATE TABLE IF NOT EXISTS `dealercars` ( `id` int(11) NOT NULL AUTO_INCREMENT, `dealerid` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `Name` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `Model` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `Price` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, `Active` varchar(50) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=141 ; -- -- Dumping data for table `cars` -- INSERT INTO `dealercars` (`id`,`dealerid`, `Name`, `Model`, `Price`,`active`)/ VALUES -- -------------------------------------------------------- /*!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 */;
Code:
Eroare Comanda SQL: -- -- Dumping data for table `cars` -- INSERT INTO `dealercars` ( `id` , `dealerid` , `Name` , `Model` , `Price` , `active` ) / VALUES -- -------------------------------------------------------- /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; MySQL zice: Documentație #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '/ VALUES -- -------------------------------------------------------- /*!' at line 5