diff --git a/day-18/mysql-code/python_db.sql b/day-18/mysql-code/python_db.sql new file mode 100644 index 0000000..07d4dcf --- /dev/null +++ b/day-18/mysql-code/python_db.sql @@ -0,0 +1,68 @@ +-- phpMyAdmin SQL Dump +-- version 5.2.1 +-- https://www.phpmyadmin.net/ +-- +-- Host: localhost +-- Generation Time: Mar 23, 2026 at 07:04 PM +-- Server version: 10.4.32-MariaDB +-- PHP Version: 8.2.12 + +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: `python_db` +-- + +-- -------------------------------------------------------- + +-- +-- Table structure for table `student` +-- + +CREATE TABLE `student` ( + `id` int(11) NOT NULL, + `name` varchar(100) DEFAULT NULL, + `age` int(11) DEFAULT NULL +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; + +-- +-- Dumping data for table `student` +-- + +INSERT INTO `student` (`id`, `name`, `age`) VALUES +(2, 'Ramlal', 19), +(3, 'Shamu', 20), +(4, 'Basanti', 17); + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `student` +-- +ALTER TABLE `student` + ADD PRIMARY KEY (`id`); + +-- +-- AUTO_INCREMENT for dumped tables +-- + +-- +-- AUTO_INCREMENT for table `student` +-- +ALTER TABLE `student` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5; +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 */; diff --git a/day-18/ppt/Presentation - Python with MySQL Connector.pptx b/day-18/ppt/Presentation - Python with MySQL Connector.pptx new file mode 100644 index 0000000..dd9274d Binary files /dev/null and b/day-18/ppt/Presentation - Python with MySQL Connector.pptx differ