• Non ci sono risultati.

Progettazione - Parte A

N/A
N/A
Protected

Academic year: 2021

Condividi "Progettazione - Parte A"

Copied!
1
0
0

Testo completo

(1)

Progettazione - Parte A

1. The following relations are given (primary keys are underlined):

CROSS COUNTRY RACE(RaceCod, RaceName, Category, City, Region, Date, OrganizerCod) ORGANIZER(OrganizerCod, OName)

PARTICIPANT(ParticipantCod, PName, BirthDate, Address, City, Region) PARTICIPANT PARTICIPATES RACE(ParticipantCod, RaceCod, Rank)

Write the following queries

(a) Mandatory exercise in algebra (4 points):

Select the code and the name of the persons who have organized at least two cross country races for the same category in different cities.

(b) Mandatory exercise in SQL language (5 points):

Select the name of the persons who have organized in the Piedmont region at least one cross country race for the category ’Under 14’ but no cross country race for the category

’Under 20’.

(c) Optional exercise in SQL language (5 points):

Select the name of the participants who have partecipated to all cross country races held in their region but never ranked first in any cross country race.

1

Riferimenti

Documenti correlati

A score of 5 reflects strong economic goals, in that the organisation’s mission and vision put a high emphasis on economic success and financial viability of the organisation,

PRODUCT (Prod#, PName, PType, PCategory) SHOP (Shop#, City, Province, Region, State) SALES (Prod#, Shop#, Date, Qty).

Convenience Store Information Center Parking Space Plain Points points, so new Plain Area can be defined in Taipei City. Thus, the site of Plain system could not only be more close

The increased susceptibility of mitochondrially diseased Dictyostelium strains is caused by chronic AMPK signalling The mitochondrial disease phenotypes reported previously

Nonostante i due metodi dal punto di vista qualitativo risultano entrambi idonei alla determinazione degli aminoacidi anche nella matrice biologica di larve di

• Contato il numero di persone che generano eventi in una data ora e in una data cella... Cella