Musicians database

Graduated questions

ER diagram for the musicians database:

The musicians database contains the following tables:

select * from musician
m_no m_name born died born_in living_in
1Fred Bloggs 02/01/4812
2John Smith 03/03/5034
3Helen Smyth 08/08/4845
4Harriet Smithson 09/05/190920/09/8056
5James First 10/06/6577
6Theo Mengel 12/08/4871
7Sue Little 21/02/4589
8Harry Forte 28/02/5118
9Phil Hot 30/06/4227
10Jeff Dawn 12/12/4536
11Rose Spring 25/05/4845
12Davis Heavan 03/10/7554
13Lovely Time 28/12/4863
14Alan Fluff 15/01/3515/05/9772
15Tony Smythe 02/04/3281
16James Quick 08/08/192492
17Freda Miles 04/07/192093
18Elsie James 06/05/4785
19Andy Jones 08/10/5876
20Louise Simpson 10/01/4811/02/9866
21James Steeple 10/01/4756
22Steven Chaytors 11/03/5667
Number of records: 22
select * from place
place_no place_town place_country
1Manchester England
2Edinburgh Scotland
3Salzburg Austria
4New York USA
5Birmingham England
6Glasgow Scotland
7London England
8Chicago USA
9Amsterdam Netherlands
Number of records: 9
select * from performer
perf_no perf_is instrument perf_type
12violin classical
24viola classical
36banjo jazz
48violin classical
512guitar jazz
614violin classical
716trumpet jazz
818viola classical
920bass jazz
102flute jazz
1120cornet jazz
126violin jazz
138drums jazz
1410violin classical
1512cello classical
1614viola classical
1716flute jazz
1818guitar not known
1920trombone jazz
203horn jazz
215violin jazz
227cello classical
232bass jazz
244violin jazz
256drums classical
268clarinet jazz
2710bass jazz
2812viola classical
2918cello classical
Number of records: 29
select * from composer
comp_no comp_is comp_type
11jazz
23classical
35jazz
47classical
59jazz
611rock
713classical
815jazz
917classical
1019jazz
1110rock
128jazz
Number of records: 12
select * from band
band_no band_name band_home band_type b_date band_contact
1ROP 5classical 30/01/0111
2AASO 6classical 10
3The J Bs 8jazz 12
4BBSO 9classical 21
5The left Overs 2jazz 8
6Somebody Loves this 1jazz 6
7Oh well 4classical 3
8Swinging strings 4classical 7
9The Rest 9jazz 16
Number of records: 9
select * from plays_in
player band_id
11
17
31
41
47
51
61
67
71
81
87
102
122
132
142
148
152
158
172
182
193
203
214
224
234
255
266
276
287
288
297
Number of records: 31
select * from composition
c_no comp_date c_title c_in
117/06/75Opus 1 1
221/07/76Here Goes 2
314/12/81Valiant Knight 3
412/01/82Little Piece 4
513/03/85Simple Song 5
614/04/86Little Swing Song 6
713/05/87Fast Journey 7
814/02/76Simple Love Song 8
921/01/82Complex Rythms 9
1023/02/85Drumming Rythms 9
1118/03/78Fast Drumming 8
1213/08/84Slow Song 7
1314/09/68Blue Roses 6
1415/11/83Velvet Rain 5
1516/05/82Cold Wind 4
1618/06/83After the Wind Blows 3
17A Simple Piece 2
1812/01/85Long Rythms 1
1912/02/88Eastern Wind 1
20Slow Symphony Blowing 2
2112/07/90A Last Song 6
Number of records: 21
select * from has_composed
cmpr_no cmpn_no
11
18
211
32
313
314
318
412
420
53
513
514
615
621
74
79
816
95
910
1017
116
127
1219
Number of records: 23
select * from concert
concert_no concert_venue concert_in con_date concert_orgniser
1Bridgewater Hall 106/01/9521
2Bridgewater Hall 108/05/963
3Usher Hall 203/06/953
4Assembly Rooms 220/09/9721
5Festspiel Haus 321/02/958
6Royal Albert Hall 712/04/938
7Concertgebouw 914/05/938
8Metropolitan 415/06/9721
Number of records: 8
select * from performance
pfrmnc_no gave performed conducted_by performed_in
111211
213211
315211
41212
524212
626212
741993
8420103
9512104
10513114
1135135
1236135
1337135
14620146
15812157
16916218
17917218
18918218
19919218
20412103
Number of records: 20