Skip to content

Instantly share code, notes, and snippets.

@kidino
Created October 19, 2023 06:33
Show Gist options
  • Save kidino/17de293720112030dfa94629fb544403 to your computer and use it in GitHub Desktop.
Save kidino/17de293720112030dfa94629fb544403 to your computer and use it in GitHub Desktop.
Sample Customer Database (MariaDB)
-- MariaDB dump 10.19 Distrib 10.6.12-MariaDB, for Linux (x86_64)
--
-- Host: mysql.hostinger.ro Database: u574849695_17
-- ------------------------------------------------------
-- Server version 10.6.12-MariaDB-cll-lve
/*!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 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `customers`
--
DROP TABLE IF EXISTS `customers`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `customers` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`first_name` varchar(50) NOT NULL,
`last_name` varchar(50) NOT NULL,
`email` varchar(100) NOT NULL,
`birthdate` date NOT NULL,
`added` timestamp NOT NULL DEFAULT current_timestamp(),
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `customers`
--
LOCK TABLES `customers` WRITE;
/*!40000 ALTER TABLE `customers` DISABLE KEYS */;
INSERT INTO `customers` VALUES (1,'Alexander','McClure','ohowe@example.com','1978-07-15','1974-10-22 13:21:16'),(2,'Marisol','Osinski','padberg.breana@example.net','2021-01-08','1991-08-05 10:59:23'),(3,'Quentin','Stoltenberg','emerald39@example.com','1987-03-19','1986-07-17 19:54:05'),(4,'Stephania','Parker','pkreiger@example.net','1997-10-23','2015-09-24 22:22:41'),(5,'Ashlee','Stark','billie09@example.org','2023-02-24','2012-09-02 10:29:29'),(6,'Annalise','Crooks','wade29@example.org','2020-09-13','1970-08-14 14:04:35'),(7,'Bryon','Rice','yauer@example.org','2014-07-02','1991-07-21 15:47:53'),(8,'Myrtle','Mills','rward@example.com','2000-10-18','1998-04-29 22:57:35'),(9,'Charles','Gutkowski','emory58@example.com','2005-05-20','2009-03-13 02:00:05'),(10,'Flossie','Legros','cormier.jarrell@example.org','2007-04-28','1997-09-07 03:54:18'),(11,'Sharon','Ankunding','haag.maverick@example.org','2016-12-10','1985-04-28 09:27:06'),(12,'Dorris','Oberbrunner','zechariah08@example.net','1982-12-01','2020-12-08 15:01:21'),(13,'Cora','Fahey','beulah75@example.org','1972-04-06','1991-03-25 21:45:57'),(14,'Devan','Hettinger','miguel.o\'connell@example.org','2022-03-17','2011-09-20 06:52:55'),(15,'Tiara','Murray','aufderhar.cielo@example.net','1971-12-24','1983-11-18 08:22:38'),(16,'Gus','Will','albert16@example.com','1972-02-03','2007-04-30 08:14:30'),(17,'Joanny','Orn','adaline15@example.com','2003-08-28','2003-12-01 07:29:07'),(18,'Anastacio','Senger','simonis.ivah@example.org','1997-11-18','1982-09-14 15:59:29'),(19,'Theron','Rowe','keith28@example.net','1975-06-02','1988-09-10 06:25:11'),(20,'Mireille','Schaefer','ephraim64@example.org','1992-08-05','2012-11-30 20:52:38'),(21,'Vivien','Lang','eugene.barrows@example.org','2016-09-15','2020-08-20 11:25:30'),(22,'Freddy','Rohan','keegan16@example.org','1991-02-05','1998-06-10 06:56:20'),(23,'Jaquelin','Yost','ralph05@example.org','1975-06-12','2005-04-22 14:46:40'),(24,'Herman','Rogahn','hassie.carroll@example.org','2014-07-10','2019-04-29 19:29:15'),(25,'Jayde','Schroeder','hegmann.rocky@example.com','2018-03-27','2005-12-15 09:35:34'),(26,'Brook','Hermann','mueller.moises@example.net','1974-11-02','2016-02-22 07:59:22'),(27,'Sadie','Wiza','yvonne95@example.net','1973-04-07','2017-03-21 06:18:26'),(28,'Verla','Huel','fritz83@example.com','2006-05-22','1972-07-22 18:42:04'),(29,'Assunta','Ruecker','michelle.yundt@example.com','2009-06-22','2015-09-22 00:24:13'),(30,'Nicholaus','Cormier','jmayer@example.net','1978-04-09','1994-09-30 05:37:06');
/*!40000 ALTER TABLE `customers` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!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 */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2023-10-19 6:30:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment