-
Notifications
You must be signed in to change notification settings - Fork 0
/
seeding.sql
67 lines (65 loc) · 5.94 KB
/
seeding.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
56
57
58
59
60
61
62
63
64
65
66
67
-- Populate the MUSICIAN table with more data
INSERT INTO MUSICIAN (nickname, firstName, lastName, e_mail, locality, bestInstrument, telephoneNumber, isCertified, isMaster)
VALUES
('guitarhero42', 'Sam', 'Rock', '[email protected]', 'Nashville', 'Guitar', '555-1111', 1, 1),
('pianomagician', 'Lily', 'Keys', '[email protected]', 'New Orleans', 'Piano', '555-2222', 1, 0),
('fiddlingwizard', 'Tom', 'Fiddle', '[email protected]', 'Austin', 'Violin', '555-3333', 0, 1),
('drummerboy', 'Max', 'Beats', '[email protected]', 'Los Angeles', 'Drums', '555-4444', 1, 0),
('bassmaster', 'Ella', 'Bass', '[email protected]', 'Chicago', 'Bass', '555-5555', 0, 1),
('trumpetstar', 'Charlie', 'Brass', '[email protected]', 'New York', 'Trumpet', '555-6666', 1, 1),
('xylophonist', 'Olivia', 'Wood', '[email protected]', 'San Francisco', 'Xylophone', '555-7777', 1, 0),
('accordionking', 'Victor', 'Squeeze', '[email protected]', 'New York', 'Accordion', '555-8888', 0, 1),
('banjoking', 'Alex', 'Strings', '[email protected]', 'Nashville', 'Banjo', '555-9999', 0, 1),
('keytarwizard', 'Lisa', 'Synth', '[email protected]', 'Los Angeles', 'Keytar', '555-1010', 1, 0),
('saxophonic', 'Michael', 'Reed', '[email protected]', 'New Orleans', 'Saxophone', '555-2020', 1, 1),
('maracaman', 'Maria', 'Rhythm', '[email protected]', 'Miami', 'Maracas', '555-3030', 0, 1),
('trianglefanatic', 'Tim', 'Chime', '[email protected]', 'Austin', 'Triangle', '555-4040', 0, 0),
('flutemaster', 'Sophia', 'Wind', '[email protected]', 'Chicago', 'Flute', '555-5050', 1, 1),
('didgeridoodler', 'Daniel', 'Didgeridoo', '[email protected]', 'Sydney', 'Didgeridoo', '555-6060', 0, 1),
('thereminwhiz', 'Grace', 'Ether', '[email protected]', 'Moscow', 'Theremin', '555-7070', 1, 0),
('accordionista', 'Giuseppe', 'Bellini', '[email protected]', 'Milan', 'Accordion', '555-1111', 1, 1),
('violinistavirtuoso', 'Elena', 'Russo', '[email protected]', 'Rome', 'Violin', '555-2222', 1, 0),
('pianomaestro', 'Franco', 'Rossi', '[email protected]', 'Naples', 'Piano', '555-3333', 0, 1),
('bagpiper', 'Alistair', 'McGregor', '[email protected]', 'Edinburgh', 'Bagpipes', '555-4444', 1, 0),
('flamencoguitar', 'Isabella', 'Lopez', '[email protected]', 'Seville', 'Flamenco Guitar', '555-5555', 1, 1),
('irishwhistle', 'Declan', 'O connor', '[email protected]', 'Dublin', 'Irish Whistle', '555-6666', 0, 1),
('polkaaccordion', 'Karolina', 'Kowalski', '[email protected]', 'Warsaw', 'Accordion', '555-7777', 1, 1),
('scottishfiddler', 'Fiona', 'MacLeod', '[email protected]', 'Glasgow', 'Fiddle', '555-8888', 0, 0);
INSERT INTO GENRE (genreName, genreDescription, origin)
VALUES
('Pop', 'A genre of popular music characterized by catchy melodies and a wide appeal.', 'Worldwide'),
('R&B', 'Rhythm and Blues, a genre that combines elements of jazz, gospel, and blues.', 'United States'),
('Folk', 'A genre of music that reflects the cultural traditions of a particular region or community.', 'Various'),
('Metal', 'A genre of music known for its heavy and aggressive sound, often characterized by distorted guitars.', 'Worldwide'),
('Punk', 'A genre of music characterized by its raw and rebellious attitude.', 'United States'),
('Soul', 'A genre of music that combines elements of gospel and rhythm and blues.', 'United States'),
('Reggaeton', 'A genre of music that originated in Puerto Rico, combining Latin rhythms with hip-hop and dancehall influences.', 'Puerto Rico'),
('K-Pop', 'Korean Pop music, known for its catchy tunes and visually stunning music videos.', 'South Korea');
('Alternative', 'A genre of music that encompasses a diverse range of styles and sounds.', 'Worldwide'),
('Country', 'A genre of music that celebrates rural life and storytelling.', 'United States'),
('J-Pop', 'Japanese Pop music, known for its catchy melodies and anime tie-ins.', 'Japan'),
('Ska', 'A genre of music characterized by its offbeat rhythms and horn sections.', 'Jamaica'),
('Disco', 'A genre of music that emerged in the 1970s, known for its danceable beats and vibrant nightlife.', 'United States'),
('Gospel', 'A genre of music that features Christian themes and powerful vocal performances.', 'United States'),
('Indie', 'A genre of music associated with independent and non-mainstream artists.', 'Worldwide'),
('Rap', 'A genre of music that emphasizes rhythm and wordplay, often delivered in spoken or rhymed form.', 'United States');
('Rockabilly', 'A genre that combines elements of rock and country music, popular in the 1950s.', 'United States'),
('Classical', 'A genre known for its orchestral and instrumental compositions.', 'Europe'),
('Techno', 'A genre of electronic dance music characterized by repetitive beats and synthesized sounds.', 'Germany'),
('Salsa', 'A genre of Latin music and dance that originated in Cuba.', 'Cuba'),
('Blues', 'A genre rooted in African American history, known for its emotional expression.', 'United States'),
('Opera', 'A genre of music that combines singing, acting, and orchestral accompaniment.', 'Italy'),
('Funk', 'A genre of music that blends soul, R&B, and jazz, known for its groovy basslines.', 'United States'),
('Punk Rock', 'A subgenre of punk characterized by loud, fast, and DIY (do-it-yourself) ethos.', 'United States');
INSERT INTO CHAT_PARTICIPANT (entryDate, exitDate, nickname)
VALUES
('2023-01-15', NULL, 'guitarhero42'),
('2023-02-20', NULL, 'pianomagician'),
('2023-03-25', NULL, 'fiddlingwizard'),
('2023-04-05', NULL, 'drummerboy'),
('2023-05-12', NULL, 'bassmaster'),
('2023-06-18', NULL, 'trumpetstar'),
('2023-07-22', NULL, 'xylophonist'),
('2023-08-30', NULL, 'accordionking'),
('2023-09-10', NULL, 'banjoking'),
('2023-10-15', NULL, 'keytarwizard');