Advertisement
Guest User

Sample Data

a guest
Feb 6th, 2019
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.76 KB | None | 0 0
  1. INSERT INTO Location (loc_id, loc_country, loc_city, loc_region, loc_zip, loc_add1)
  2. VALUES
  3. (1, 'United States', 'Miami', 'Florida', '12345', 'Fake Street 123');
  4.  
  5. INSERT INTO Location (loc_id, loc_country, loc_city, loc_region, loc_zip, loc_add1)
  6. VALUES
  7. (2, 'Norway', 'Kristiansand', 'Vest-Agder', '4630', 'Tryms Vei 303');
  8.  
  9. INSERT INTO Location (loc_id, loc_country, loc_city, loc_region, loc_zip, loc_add1)
  10. VALUES
  11. (3, 'France', 'Paris', NULL, '53211', 'Rue de la Baguette 66');
  12.  
  13. INSERT INTO ContactPerson (cp_id, cp_email, cp_firstName, cp_lastName, cp_phone)
  14. VALUES
  15. (1, 'generic@gmail.com', 'Generic', 'Genericson', '113');
  16.  
  17. INSERT INTO ContactPerson (cp_id, cp_email, cp_firstName, cp_LastName, cp_phone)
  18. VALUES
  19. (2, 'fakeemail1@fake.fake', 'Fake', 'Fakerman', '12345');
  20.  
  21. INSERT INTO ContactPerson (cp_id, cp_email, cp_firstName, cp_LastName, cp_phone)
  22. VALUES
  23. (3, 'sendmeallthecharity@yahoo.com', 'John', 'Smith', '77777777');
  24.  
  25. INSERT INTO ContactPerson (cp_id, cp_email, cp_firstName, cp_LastName, cp_phone)
  26. VALUES
  27. (4, 'aaa@bbb.com', 'James', 'Hetfield', '13371234');
  28.  
  29. INSERT INTO Account (ac_id, loc_id, ac_firstName, ac_lastName, ac_password, ac_phone, ac_Email, ac_recieveNews, ac_interests, ac_skills)
  30. VALUES
  31. (1, 1, 'Taylor', 'Swift', 'shakeitoff', '4443331212', 'taylor@swift.com', 'true', 'singing, tweeting', 'singing, dancing, shooting');
  32.  
  33. INSERT INTO Account (ac_id, loc_id, ac_firstName, ac_lastName, ac_password, ac_phone, ac_Email, ac_recieveNews, ac_interests, ac_skills)
  34. VALUES
  35. (2, 3, 'Even', 'Odd', 'hemmelig', '109110202211', 'rolodex@gmail.com', 'false', 'coding', 'coding, teaching');
  36.  
  37. INSERT INTO Account (ac_id, loc_id, ac_firstName, ac_lastName, ac_password, ac_phone, ac_Email, ac_recieveNews, ac_interests, ac_skills)
  38. VALUES
  39. (3, 1, 'Stephen', 'Fry', 'qqqiii', '99988333', 'quiteinteresting@bbc.co.uk', 'true', 'reading, writing', 'hosting tv shows, reading out loud, acting');
  40.  
  41. INSERT INTO Account
  42. (ac_id, loc_id, ac_firstName, ac_lastName, ac_password, ac_phone, ac_Email, ac_recieveNews, ac_interests, ac_skills)
  43. VALUES
  44. (4, 2, 'Another', 'Person', 'password', '123', 'gmail@hotmail.com', 'false', 'cooking, reading, running', 'cooking, math');
  45.  
  46. INSERT INTO SocialDetails(sd_id, sd_website, sd_facebook, sd_linkedin, sd_twitter, sd_image)
  47. VALUES
  48. (1, 'www.website.com', 'www.website.com', 'www.website.com', 'www.website.com', 'imagelinkhere');
  49.  
  50. INSERT INTO SocialDetails (sd_id, sd_website, sd_facebook, sd_linkedin, sd_twitter, sd_image)
  51. VALUES
  52. (3, 'redcross.com', null, null, 'twitter.com/redcross', 'redcross.png');
  53.  
  54. INSERT INTO Organization (org_id, sd_id, cp_id, loc_id, org_opportunityList, org_name, org_missionStatement, org_description, org_phone, org_type, org_creationDate, org_causes)
  55. VALUES
  56. (1, 1, 1, 1, 'Opportunities', 'Organization', 'We are generic', 'We do generic things', '911', 'Righthanded', TO_DATE('2003/05/03 21:02:44', 'yyyy/mm/dd hh24:mi:ss'), 'No causes' );
  57.  
  58. INSERT INTO Organization (org_id, sd_id, cp_id, loc_id, org_opportunityList, org_name, org_missionStatement, org_description, org_phone, org_type, org_creationDate, org_causes)
  59. VALUES
  60. (2, 1, 1, 1, 'Our opportunities are: Cooking for the homeless, teaching kids math, write songs for Taylor Swift', 'The Taylor Swift Foundation', 'Our mission statement is to help people in need', 'What is this organization? A very good question', '19281 01', 'Non-profit charity', TO_DATE('2003/05/03 21:02:44', 'yyyy/mm/dd hh24:mi:ss'), 'Causes of this organization is to help people not die');
  61.  
  62. INSERT INTO Organization
  63. (org_id, sd_id, cp_id, loc_id, org_opportunityList, org_name, org_missionStatement, org_description, org_phone, org_type, org_creationDate, org_causes)
  64. VALUES
  65. (3, 1, 1, 1, 'Help starving kids in Africa.', 'Red Cross', 'Our mission statement is helping everyone', 'Red Cross is a non-profit organization helping people across the world', '5555555', 'Non-profit charity', TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'), 'Our causes is helping people in need');
  66.  
  67. INSERT INTO Organization
  68. (org_id, sd_id, cp_id, loc_id, org_opportunityList, org_name, org_missionStatement, org_description, org_phone, org_type, org_creationDate, org_causes)
  69. VALUES
  70. (4, 1, 2, 2, 'Being an assistant teacher, Cleaning the cafeteria.', 'University of Agder', 'Teaching people', 'The university in the southern part of Norway', '1234566777', 'University', TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'), 'We give people an education');
  71.  
  72.  
  73. INSERT INTO Opportunity (op_id, org_id, op_title, op_description, cp_id, loc_id, op_creationDate, op_neededSkills, op_minAge, op_maxVolunteers, op_requirements, op_startDate, op_startTime, op_endDate, op_endTime, op_status, op_greatFor)
  74. VALUES
  75. (
  76. 1,
  77. 1,
  78. 'Title',
  79. 'A description',
  80. 1,
  81. 1,
  82. (TO_DATE('2003/05/03 21:02:44', 'yyyy/mm/dd hh24:mi:ss')),
  83. 'Needed skills',
  84. '16',
  85. '10',
  86. 'Need some requirements',
  87. (TO_DATE('2003/05/03 21:02:44', 'yyyy/mm/dd hh24:mi:ss')),
  88. CURRENT_TIMESTAMP,
  89. sysdate,
  90. CURRENT_TIMESTAMP,
  91. 'Approved',
  92. 'Kids'
  93. );
  94.  
  95. INSERT INTO Opportunity
  96. (op_id, org_id, op_title, op_description, cp_id, loc_id, op_creationDate, op_neededSkills, op_minAge, op_maxVolunteers, op_requirements, op_startDate, op_startTime, op_endDate, op_endTime, op_status, op_greatFor)
  97. VALUES
  98. (3, 1, 'Cooking for the homeless', 'Pretty much title, cook food for the homeless people here', 1, 4, TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'), 'Cooking, smiling', '16', null, null, TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'), CURRENT_TIMESTAMP, TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'), CURRENT_TIMESTAMP, 'OK', 'Chefs');
  99.  
  100. INSERT INTO AccountOpportunity
  101. (ac_id, op_id, ao_creationDate, ao_creationTime, ac_Email, ao_status, ao_comStartDate, ao_comEndDate)
  102. VALUES
  103. (1, 1, TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'), CURRENT_TIMESTAMP, 'seurgn@ujnire.com', 'OK', TO_DATE('2017-03-03', 'yyyy/mm/dd hh24:mi:ss'), TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'));
  104.  
  105. INSERT INTO AccountOpportunity
  106. (ac_id, op_id, ao_creationDate, ao_creationTime, ac_Email, ao_status, ao_comStartDate, ao_comEndDate)
  107. VALUES
  108. (2, 1, TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'), CURRENT_TIMESTAMP, 'seurgn@ujnire.com', 'OK', TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'),
  109. TO_DATE('1904-03-02', 'yyyy/mm/dd hh24:mi:ss'));
  110.  
  111. INSERT INTO TimeSheet
  112. (ts_id, ac_id, op_id, ts_volunteerDate, ts_hours, ts_dataEntryDate, ts_approvedBy, ts_approval)
  113. VALUES
  114. (2, 1, 1, TO_DATE('2017-03-03', 'yyyy/mm/dd hh24:mi:ss'), 1, TO_DATE('2017-03-03', 'yyyy/mm/dd hh24:mi:ss'), 1, 'true');
  115.  
  116. INSERT INTO TimeSheet
  117. (ts_id, ac_id, op_id, ts_volunteerDate, ts_hours, ts_dataEntryDate, ts_approvedBy, ts_approval)
  118. VALUES
  119. (3, 2, 1, TO_DATE('2017-03-03', 'yyyy/mm/dd hh24:mi:ss'), 6, TO_DATE('2017-03-03', 'yyyy/mm/dd hh24:mi:ss'), 1, 'true');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement