Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Lưu thành file abc.sql rồi tạo 1 db mới trong phpmyadmin (hoặc sqlserver) import file này vào
- -- phpMyAdmin SQL Dump
- -- version 3.3.9
- -- http://www.phpmyadmin.net
- --
- -- Host: localhost
- -- Generation Time: May 05, 2012 at 03:24 PM
- -- Server version: 5.5.8
- -- PHP Version: 5.3.5
- SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
- /*!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: `FootballLeague`
- --
- -- --------------------------------------------------------
- --
- -- Table structure for table `matches`
- --
- CREATE TABLE IF NOT EXISTS `matches` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `homeTeamId` int(11) NOT NULL,
- `guessTeamId` int(11) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
- -- --------------------------------------------------------
- --
- -- Table structure for table `teams`
- --
- CREATE TABLE IF NOT EXISTS `teams` (
- `id` int(11) NOT NULL AUTO_INCREMENT,
- `name` varchar(128) NOT NULL,
- PRIMARY KEY (`id`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement