projecte_ionic/src/backend/country_stats.sql

74 lines
2 KiB
SQL

-- phpMyAdmin SQL Dump
-- version 5.1.1
-- https://www.phpmyadmin.net/
--
-- Host: localhost
-- Generation Time: Jan 19, 2022 at 08:10 PM
-- Server version: 10.5.12-MariaDB-0+deb11u1
-- PHP Version: 8.0.14
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
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 utf8mb4 */;
--
-- Database: `country_stats`
--
-- --------------------------------------------------------
--
-- Table structure for table `cs_countries`
--
CREATE TABLE `cs_countries` (
`cs_country_id` int(11) NOT NULL,
`cs_country_name` varchar(32) NOT NULL,
`cs_country_continent` varchar(16) NOT NULL,
`cs_country_area` int(32) NOT NULL,
`cs_country_population` int(32) NOT NULL,
`cs_country_drivingSide` enum('left','right') NOT NULL,
`cs_country_flag` varchar(64) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
--
-- Dumping data for table `cs_countries`
--
INSERT INTO `cs_countries` (`cs_country_id`, `cs_country_name`, `cs_country_continent`, `cs_country_area`, `cs_country_population`, `cs_country_drivingSide`, `cs_country_flag`) VALUES
(8, 'saf', 'antarctica', 243234, 24234, 'right', ''),
(11, 'adasd', 'africa', 123, 1132, 'right', ''),
(12, 'jorge', 'europe', 2, 1, 'right', '');
--
-- Indexes for dumped tables
--
--
-- Indexes for table `cs_countries`
--
ALTER TABLE `cs_countries`
ADD PRIMARY KEY (`cs_country_id`),
ADD UNIQUE KEY `cs_country_name` (`cs_country_name`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `cs_countries`
--
ALTER TABLE `cs_countries`
MODIFY `cs_country_id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
COMMIT;
/*!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 */;