-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjava_client_crud.sql
55 lines (45 loc) · 1.92 KB
/
java_client_crud.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Servidor: 127.0.0.1:3306
-- Tiempo de generación: 25-06-2023 a las 05:17:10
-- Versión del servidor: 8.0.27
-- Versión de PHP: 8.1.0
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 */;
--
-- Base de datos: `java_client_crud`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `clients`
--
DROP TABLE IF EXISTS `clients`;
CREATE TABLE IF NOT EXISTS `clients` (
`id` int UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(45) NOT NULL,
`lastname` varchar(45) NOT NULL,
`email` varchar(45) NOT NULL,
`phone_number` varchar(45) DEFAULT NULL,
`balance` double DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
--
-- Volcado de datos para la tabla `clients`
--
INSERT INTO `clients` (`id`, `name`, `lastname`, `email`, `phone_number`, `balance`, `created_at`, `updated_at`) VALUES
(1, 'Marco', 'Yaroide', '[email protected]', '(809) 423-2343', NULL, '2023-06-20 17:06:38', '2023-06-20 15:48:37'),
(2, 'Francisca', 'Gutierrez', '[email protected]', '(809) 222-3333', 323.3, '2023-06-20 17:19:08', '2023-06-20 15:48:37'),
(3, 'Marco', 'De la cruz', '[email protected]', '8295850900', 123, '2023-06-25 03:12:54', '2023-06-24 23:12:54');
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 */;