Advertisement
NealPeteros

Untitled

May 26th, 2023
1,467
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 2.79 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 5.2.0
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: 127.0.0.1
  6. -- Generation Time: May 26, 2023 at 09:52 AM
  7. -- Server version: 10.4.27-MariaDB
  8. -- PHP Version: 8.2.0
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. START TRANSACTION;
  12. SET time_zone = "+00:00";
  13.  
  14.  
  15. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  16. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  17. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  18. /*!40101 SET NAMES utf8mb4 */;
  19.  
  20. --
  21. -- Database: `cis1202_f_project`
  22. --
  23.  
  24. -- --------------------------------------------------------
  25.  
  26. --
  27. -- Table structure for table `books`
  28. --
  29.  
  30. CREATE TABLE `books` (
  31.   `id` int(12) NOT NULL,
  32.   `title` varchar(128) NOT NULL,
  33.   `description` varchar(500) NOT NULL,
  34.   `author` varchar(128) NOT NULL,
  35.   `price` float NOT NULL,
  36.   `rating` int(12) NOT NULL,
  37.   `path` varchar(128) NOT NULL
  38. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
  39.  
  40. --
  41. -- Dumping data for table `books`
  42. --
  43.  
  44. INSERT INTO `books` (`id`, `title`, `description`, `author`, `price`, `rating`, `path`) VALUES
  45. (1, 'Harry Potter and the Deathly Hallows', 'Harry Potter and the Deathly Hallows is a fantasy novel written by British author J. K. Rowling and the seventh and final novel in the Harry Potter series. It was released on 21 July 2007 in the United Kingdom by Bloomsbury Publishing, in the United States by Scholastic, and in Canada by Raincoast Books.', 'J.K. Rowling', 1125, 4, 'deathly_hallows'),
  46. (2, '48 Laws of Power', 'In the book that People magazine proclaimed “beguiling” and “fascinating,” Robert Greene and Joost Elffers have distilled three thousand years of the history of power into 48 essential laws by drawing from the philosophies of Machiavelli, Sun Tzu, and Carl Von Clausewitz and also from the lives of figures ranging from Henry Kissinger to P.T. Barnum.', 'Robert Greene', 123.45, 5, '48_laws_of_power'),
  47. (5, 'The Great Gatsby', 'The Great Gatsby is a 1925 novel by American writer F. Scott Fitzgerald. Set in the Jazz Age on Long Island, the novel depicts narrator Nick Carraway\'s interactions with mysterious millionaire Jay Gatsby and Gatsby\'s obsession to reunite with his former lover, Daisy Buchanan.', 'F. Scott Fitzgerald', 123.45, 5, 'great_gatsby');
  48.  
  49. --
  50. -- Indexes for dumped tables
  51. --
  52.  
  53. --
  54. -- Indexes for table `books`
  55. --
  56. ALTER TABLE `books`
  57.   ADD PRIMARY KEY (`id`);
  58.  
  59. --
  60. -- AUTO_INCREMENT for dumped tables
  61. --
  62.  
  63. --
  64. -- AUTO_INCREMENT for table `books`
  65. --
  66. ALTER TABLE `books`
  67.   MODIFY `id` int(12) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
  68. COMMIT;
  69.  
  70. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  71. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  72. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement