Advertisement
Guest User

Untitled

a guest
Nov 19th, 2017
392
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.87 KB | None | 0 0
  1. USE Fletnix
  2. go
  3.  
  4. SELECT * FROM Contract
  5. SELECT * FROM Country
  6. SELECT * FROM Customer
  7. SELECT * FROM Payment
  8. SELECT * FROM watchhistory
  9. SELECT * FROM Person
  10. SELECT * FROM Genre
  11. SELECT * FROM Movie
  12. SELECT * FROM Movie_Cast
  13. SELECT * FROM Movie_Genre
  14. SELECT * FROM Movie_Directors
  15.  
  16. INSERT Person (person_id, lastname, firstname, gender )
  17. VALUES (151786, 'Fishburne', 'Laurence', 'M')
  18. INSERT Person (person_id, lastname, firstname, gender )
  19. VALUES (729933, 'Moss', 'Carrie-Anne', 'F')
  20. INSERT Person (person_id, lastname, firstname, gender )
  21. VALUES (393411, 'Reeves', 'Keanu', 'M')
  22. INSERT Person (person_id, lastname, firstname, gender )
  23. VALUES (83617, 'Wachowski', 'Larry', 'M')
  24. INSERT Person (person_id, lastname, firstname, gender )
  25. VALUES (83616, 'Wachowski', 'Andy', 'M')
  26. INSERT Person (person_id, lastname, firstname, gender )
  27. VALUES (666, 'Sandler', 'Adam', 'M')
  28. INSERT Person (person_id, lastname, firstname, gender )
  29. VALUES (123,'James', 'Kevin' , 'M')
  30. INSERT Person (person_id, lastname, firstname, gender )
  31. VALUES (999, 'Monaghan', 'Michelle', 'F')
  32. INSERT Person (person_id, lastname, firstname, gender )
  33. VALUES (1357, 'Dinklage', 'Peter', 'M')
  34. INSERT Person (person_id, lastname, firstname, gender )
  35. VALUES (10101, 'Gad', 'Josh', 'M')
  36. INSERT Person (person_id, lastname, firstname, gender )
  37. VALUES (99275, 'Columbus', 'Chris', 'M')
  38. INSERT Person (person_id, lastname, firstname, gender )
  39. Values(69, 'Rashid Lynn, Jr.', 'Rashid', 'M')
  40. INSERT Person (person_id, lastname, firstname, gender )
  41. Values(12555, 'Scamarcio', 'Riccard', 'M')
  42. INSERT Person (person_id, lastname, firstname, gender )
  43. Values(77201, 'Stahelski', 'Chad', 'M')
  44.  
  45. INSERT Genre (genre_name, description)
  46. VALUES ('Action', 'Creative works characterized by emphasis on exciting action sequences')
  47. INSERT Genre (genre_name, description)
  48. VALUES ('Drama', 'Fictional division between comedy and tragedy')
  49. INSERT Genre (genre_name, description)
  50. VALUES ('Family', 'Movies suitable for a wide range of age groups')
  51. INSERT Genre (genre_name, description)
  52. VALUES ('Sci-Fi', 'Fictional movies dealing with imaginative content such as futuristic settings, futuristic science and technology, space travel, time travel, parallel universes, and extraterrestrial life')
  53. INSERT Genre (genre_name, description)
  54. VALUES ('Adventure', 'Typically use its action scenes to display and explore exotic locations in an energetic way')
  55. INSERT Genre (genre_name, description)
  56. VALUES ('Comedy', 'Genre which the main emphasis is on humour')
  57. INSERT Genre (genre_name, description)
  58. VALUES ('Thriller', 'Thriller is a broad genre of literature, film and television, having numerous, often overlapping subgenres')
  59. INSERT Genre (genre_name, description)
  60. VALUES ('Neo-noir', 'The film noir genre includes stylish Hollywood crime dramas; neo-noir is the same, but with updated themes, content, style, visual elements or media that were absent in the films of the film noir period from the 1940s and 1950s')
  61.  
  62. INSERT Movie (movie_id, title, duration, description, publication_year, cover_image, previous_part, price, URL)
  63. VALUES (11, 'Matrix, The', 122, 'Description of Matrix, The', 1999, NULL, NULL, 2.50, 'https://www.youtube.com/watch?v=m8e-FF8MsqU')
  64. INSERT Movie (movie_id, title, duration, description, publication_year, cover_image, previous_part, price, URL)
  65. VALUES (12, 'Matrix Reloaded, The', 106, 'Description of Matrix Reloaded, The', 2003, NULL, 11, 2.50, 'https://www.youtube.com/watch?v=HVrGMnk5E_M')
  66. INSERT Movie (movie_id, title, duration, description, publication_year, cover_image, previous_part, price, URL)
  67. VALUES (15, 'Kingsman: The Secret Service', 129, 'Description of Kingsman: The Secret Service', 2014, NULL, NULL, 6.70, 'https://www.youtube.com/watch?v=xkX8jKeKUEA')
  68. INSERT Movie (movie_id, title, duration, description, publication_year, cover_image, previous_part, price, URL)
  69. VALUES (16, 'Kingsman: The Golden Circle', 141, 'Description of Kingsman: The Golden Circle', 2017, NULL, 15, 6.80, 'https://www.youtube.com/watch?v=J6bnbmQvgUk')
  70.  
  71. INSERT Movie (movie_id, title, duration, description, publication_year, cover_image, previous_part, price, URL)
  72. VALUES (13, 'Pixels', 106, 'Description of Pixel', 2015, NULL, NULL, 0.20, 'https://www.youtube.com/watch?v=XAHprLW48no')
  73. INSERT Movie (movie_id, title, duration, description, publication_year, cover_image, previous_part, price, URL)
  74. VALUES (14, 'John Wick', 101, 'Description of John Wick', 2014, NULL, NULL, 3.33, 'https://www.youtube.com/watch?v=C0BMx-qxsP4')
  75. INSERT Movie (movie_id, title, duration, description, publication_year, cover_image, previous_part, price, URL)
  76. VALUES (17, 'John Wick: Chapter 2', 122, 'Description of John Wick: Chapter 2', 2017, NULL, 14, 6.66, 'https://www.youtube.com/watch?v=XGk2EfbD_Ps')
  77.  
  78. INSERT Movie_Cast (movie_id, person_id, role)
  79. VALUES (11, 393411, 'Neo')
  80. INSERT Movie_Cast (movie_id, person_id, role)
  81. VALUES (11, 729933, 'Trinity')
  82. INSERT Movie_Cast (movie_id, person_id, role)
  83. VALUES (11, 151786, 'Morpheus')
  84. INSERT Movie_Cast (movie_id, person_id, role)
  85. VALUES (12, 393411, 'Neo')
  86. INSERT Movie_Cast (movie_id, person_id, role)
  87. VALUES (12, 729933, 'Trinity')
  88. INSERT Movie_Cast (movie_id, person_id, role)
  89. VALUES (12, 151786, 'Morpheus')
  90.  
  91. INSERT Movie_Cast (movie_id, person_id, role)
  92. VALUES (13, 666, 'Sam Brenner')
  93. INSERT Movie_Cast (movie_id, person_id, role)
  94. VALUES (13, 123, ' President Will Cooper')
  95. INSERT Movie_Cast (movie_id, person_id, role)
  96. VALUES (13, 999, ' Luitenant-kolonel Violet van Patten')
  97. INSERT Movie_Cast (movie_id, person_id, role)
  98. VALUES (13, 1357, 'Eddie Plant')
  99. INSERT Movie_Cast (movie_id, person_id, role)
  100. VALUES (13,10101, 'Ludlow Lamonsoff')
  101. INSERT Movie_Cast (movie_id, person_id, role)
  102. Values (14, 393411, 'John Wick')
  103. INSERT Movie_Cast (movie_id, person_id, role)
  104. Values (17, 393411, 'John Wick')
  105. INSERT Movie_Cast (movie_id, person_id, role)
  106. Values (17, 69, 'Cassian')
  107. INSERT Movie_Cast (movie_id, person_id, role)
  108. Values (17, 151786, 'The Bowery King')
  109. INSERT Movie_Cast (movie_id, person_id, role)
  110. Values (17, 12555, 'Santino Di antonio')
  111.  
  112. INSERT Movie_Genre (movie_id, genre_name)
  113. VALUES (11, 'Action')
  114. INSERT Movie_Genre (movie_id, genre_name)
  115. VALUES(11, 'Sci-Fi')
  116.  
  117. INSERT Movie_Genre (movie_id, genre_name)
  118. VALUES (12, 'Action')
  119. INSERT Movie_Genre (movie_id, genre_name)
  120. VALUES(12, 'Sci-Fi')
  121.  
  122. INSERT Movie_Genre (movie_id, genre_name)
  123. VALUES (15, 'Adventure')
  124. INSERT Movie_Genre (movie_id, genre_name)
  125. VALUES (15, 'Comedy')
  126. INSERT Movie_Genre (movie_id, genre_name)
  127. VALUES (15, 'Action')
  128. INSERT Movie_Genre (movie_id, genre_name)
  129. VALUES (15, 'Thriller')
  130. INSERT Movie_Genre (movie_id, genre_name)
  131. VALUES (16, 'Adventure')
  132. INSERT Movie_Genre (movie_id, genre_name)
  133. VALUES (16, 'Comedy')
  134. INSERT Movie_Genre (movie_id, genre_name)
  135. VALUES (16, 'Action')
  136. INSERT Movie_Genre (movie_id, genre_name)
  137. VALUES (13, 'Action')
  138. INSERT Movie_Genre (movie_id, genre_name)
  139. VALUES(13, 'Sci-Fi')
  140. INSERT Movie_Genre (movie_id, genre_name)
  141. VALUES (13, 'Comedy')
  142. INSERT Movie_genre (movie_id, genre_name)
  143. VALUES (14, 'Action')
  144. INSERT Movie_genre (movie_id, genre_name)
  145. VALUES (17, 'Action')
  146. INSERT Movie_genre (movie_id, genre_name)
  147. VALUES (17, 'Neo-Noir')
  148.  
  149. INSERT Movie_Directors (movie_id,Person_id)
  150. VALUES(13,99275)
  151. INSERT Movie_Directors (movie_id,Person_id)
  152. VALUES(14,77201)
  153. INSERT Movie_Directors (movie_id,Person_id)
  154. VALUES(17,77201)
  155.  
  156. INSERT Payment(payment_method)
  157. VALUES ('iDeal')
  158. INSERT Payment(payment_method)
  159. VALUES ('PayPal')
  160. INSERT Payment(payment_method)
  161. VALUES ('Creditcard')
  162. INSERT Payment(payment_method)
  163. VALUES ('Bitcoin')
  164.  
  165. INSERT Contract (contract_type, price_per_month, discount_percentage)
  166. VALUES ('Basic', 7.50, 0)
  167. INSERT Contract (contract_type, price_per_month, discount_percentage)
  168. VALUES ('Pro', 10.00, 0)
  169. INSERT Contract (contract_type, price_per_month, discount_percentage)
  170. VALUES ('Supreme', 12.50, 0)
  171.  
  172. INSERT Country (country_name)
  173. VALUES ('Nederland')
  174.  
  175. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  176. VALUES ('Woutje@gmail.com','Jansen', 'Wout', 'Bitcoin', '69', 'Supreme', '2017-11-20', NULL,'Woutje69', 'Password1', 'Nederland', 'F', NULL)
  177.  
  178. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  179. VALUES ('Cannabis@gmail.com','Bis', 'Canna', 'iDeal', '1337', 'Basic', '2017-11-20', NULL,'Can69', 'Password2', 'Nederland', 'F', NULL)
  180.  
  181. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  182. VALUES ('Niels@gmail.com','Anaam', 'Niels', 'iDeal', '1339', 'Supreme', '2017-11-20', NULL,'Niels69', 'Password3', 'Nederland', 'F', NULL)
  183.  
  184. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  185. VALUES ('Thaisa@gmail.com','Gumbs', 'Thaisa', 'Creditcard', '14', 'Supreme', '2017-11-20', NULL,'Thaisa69', 'Password4', 'Nederland', 'M', NULL)
  186.  
  187. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  188. VALUES ('StonerMitch@gmail.com','Stoner', 'Mitch', 'Bitcoin', '665', 'Supreme', '2017-11-20', NULL,'Mitch69', 'Password5', 'Nederland', 'F', NULL)
  189.  
  190. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  191. VALUES ('Roelieboy@gmail.com','Ieboy', 'Roel', 'Bitcoin', '2222', 'Pro', '2017-11-20', NULL,'Roel69', 'Password6', 'Nederland', 'F', NULL)
  192.  
  193. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  194. VALUES ('Marascha@gmail.com','Meisje', 'Marascha', 'iDeal', '11111', 'Supreme', '2017-11-20', NULL,'Marascha69', 'Password7', 'Nederland', 'M', NULL)
  195.  
  196. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  197. VALUES ('Esmee@gmail.com','Meid', 'Esmee', 'Bitcoin', '7999', 'Supreme', '2017-11-20', NULL,'Esmee69', 'Password8', 'Nederland', 'M', NULL)
  198.  
  199. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  200. VALUES ('Vlaailover69@gmail.com','Vlaaibakker', 'Jorien', 'Bitcoin', '2', 'Basic', '2017-11-20', NULL,'Jorien69', 'Password9', 'Nederland', 'F', NULL)
  201.  
  202. INSERT Customer (customer_mail_address, lastname, firstname, payment_method, payment_card_number, contract_type, subscription_start, subscription_end, user_name, password, country_name, gender, birth_date)
  203. VALUES ('Weeaboostrijder@gmail.com','Weeb', 'Yorick', 'Bitcoin', '339', 'Supreme', '2017-11-20', NULL,'Yorick69', 'Password10', 'Nederland', 'F', NULL)
  204.  
  205.  
  206. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  207. VALUES (11, 'Woutje@gmail.com', '2017-11-20', 2.50, 0)
  208. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  209. VALUES (11, 'Cannabis@gmail.com', '2017-11-20', 2.50, 1)
  210. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  211. VALUES (11, 'Niels@gmail.com', '2017-11-20', 2.50, 0)
  212. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  213. VALUES (11, 'Thaisa@gmail.com', '2017-11-20', 2.50, 1)
  214. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  215. VALUES (11, 'StonerMitch@gmail.com', '2017-11-20', 2.50, 0)
  216. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  217. VALUES (11, 'Roelieboy@gmail.com', '2017-11-20', 2.50, 0)
  218. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  219. VALUES (11, 'Marascha@gmail.com', '2017-11-20', 2.50, 1)
  220. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  221. VALUES (11, 'Esmee@gmail.com', '2017-11-20', 2.50, 0)
  222. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  223. VALUES (11, 'Vlaailover69@gmail.com', '2017-11-20', 2.50, 1)
  224. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  225. VALUES (11, 'Weeaboostrijder@gmail.com', '2017-11-20', 2.50, 0)
  226.  
  227.  
  228. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  229. VALUES (12, 'Woutje@gmail.com', '2017-11-20', 2.50, 0)
  230. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  231. VALUES (13, 'Woutje@gmail.com', '2017-11-20', 2.50, 0)
  232. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  233. VALUES (14, 'Woutje@gmail.com', '2017-11-20', 2.50, 0)
  234. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  235. VALUES (15, 'Cannabis@gmail.com', '2017-11-20', 2.50, 1)
  236. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  237. VALUES (16, 'Cannabis@gmail.com', '2017-11-20', 2.50, 1)
  238. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  239. VALUES (17, 'Cannabis@gmail.com', '2017-11-20', 2.50, 1)
  240. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  241. VALUES (13, 'Niels@gmail.com', '2017-11-20', 2.50, 0)
  242. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  243. VALUES (14, 'Niels@gmail.com', '2017-11-20', 2.50, 0)
  244. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  245. VALUES (15, 'Niels@gmail.com', '2017-11-20', 2.50, 0)
  246. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  247. VALUES (13, 'Thaisa@gmail.com', '2017-11-20', 2.50, 1)
  248. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  249. VALUES (14, 'Thaisa@gmail.com', '2017-11-20', 2.50, 1)
  250. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  251. VALUES (15, 'Thaisa@gmail.com', '2017-11-20', 2.50, 1)
  252. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  253. VALUES (12, 'StonerMitch@gmail.com', '2017-11-20', 2.50, 0)
  254. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  255. VALUES (13, 'StonerMitch@gmail.com', '2017-11-20', 2.50, 0)
  256. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  257. VALUES (14, 'StonerMitch@gmail.com', '2017-11-20', 2.50, 0)
  258. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  259. VALUES (12, 'Roelieboy@gmail.com', '2017-11-20', 2.50, 0)
  260. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  261. VALUES (13, 'Roelieboy@gmail.com', '2017-11-20', 2.50, 0)
  262. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  263. VALUES (14, 'Roelieboy@gmail.com', '2017-11-20', 2.50, 0)
  264. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  265. VALUES (15, 'Marascha@gmail.com', '2017-11-20', 2.50, 1)
  266. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  267. VALUES (16, 'Marascha@gmail.com', '2017-11-20', 2.50, 1)
  268. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  269. VALUES (14, 'Marascha@gmail.com', '2017-11-20', 2.50, 1)
  270. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  271. VALUES (15, 'Esmee@gmail.com', '2017-11-20', 2.50, 1)
  272. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  273. VALUES (16, 'Esmee@gmail.com', '2017-11-20', 2.50, 1)
  274. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  275. VALUES (14, 'Esmee@gmail.com', '2017-11-20', 2.50, 1)
  276. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  277. VALUES (12, 'Vlaailover69@gmail.com', '2017-11-20', 2.50, 1)
  278. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  279. VALUES (14, 'Vlaailover69@gmail.com', '2017-11-20', 2.50, 1)
  280. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  281. VALUES (17, 'Vlaailover69@gmail.com', '2017-11-20', 2.50, 1)
  282. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  283. VALUES (12, 'Weeaboostrijder@gmail.com', '2017-11-20', 2.50, 0)
  284. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  285. VALUES (15, 'Weeaboostrijder@gmail.com', '2017-11-20', 2.50, 0)
  286. INSERT WatchHistory (movie_id, customer_mail_address, watch_date, price, invoiced)
  287. VALUES (17, 'Weeaboostrijder@gmail.com', '2017-11-20', 2.50, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement