query sql

Quiz
•
Computers
•
2nd Grade
•
Medium
Alessio Pantusa
Used 75+ times
FREE Resource
18 questions
Show all answers
1.
OPEN ENDED QUESTION
2 mins • 1 pt
corsi(codcorso,titolo,docente,anno, dipartimento)
esami(matricola*, codcorso*. voto,lode,dataesame)
studente(matricola,nome,cognome, citta, datanascita,)
esegui questa prima query:
per ogni studente visualizzare i corsi sostenuti
Evaluate responses using AI:
OFF
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
ROMANZI(CodiceR, Titolo, NomeAut*, Anno)
PERSONAGGI(NomeP, CodiceR*, sesso, ruolo)
AUTORI(NomeAut, AnnoN, AnnoM:optional, Nazione)
Scegliere la risposta giusta di questa interrogazione SQL:
Per ogni personaggio visualizzare il loro nome dei personaggi e contare il numero di romanzi nei quali compaiono
select p.nome, count(r.*)
from personaggi p, romanzi r
where p.codiceR=r.codiceR
group by p.nomep;
select p.nome, sum(r.*)
from personaggi p, romanzi r
where p.codiceR=r.codiceR
select p.nome, count(r.*)
from personaggi p, romanzi r
where p.codiceR=r.codiceR
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
quale comando SQL elimina i duplicati nei risultati di una query
distinct
duplicate
single
group by
4.
MULTIPLE SELECT QUESTION
1 min • 1 pt
quali tra questi sono comandi SQL
GROUP BY
DISTINCT
GROUP
WITH
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
dove scrivo il risultato di una query
select
from
where
group by
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
nel WHERE vanno inserite le
join e le condizioni
solo le condizioni
i risultati
le tabelle
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Dato il seguente database in schema relazionale
ATTORI (CodAttore, Nome, AnnoNascita, Nazionalità);
RECITA (CodAttore*, CodFilm*)
FILM (CodFilm, Titolo, AnnoProduzione, Nazionalità, Regista, Genere)
PROIEZIONI (CodProiezione, CodFilm*, CodSala*, Incasso, DataProiezione)
scegliere la query esatta che :
Per ogni regista, visualizzi il numero di film diretti dopo il 1990
SELECT f.regista, count(f.*)
FROM film f
WHERE f.annodiproduzione>1990
GROUP BY f.regista;
SELECT f.regista, count(f.*)
FROM film f
WHERE f.annodiproduzione>1990
SELECT f.regista, count(f.*)
FROM film f, proiezioni p
WHERE p.codfilm=f.codfilm and f.annodiproduzione>1990
GROUP BY f.regista;
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Quiz su Internet, Indirizzi IP e DNS

Quiz
•
2nd Grade - University
14 questions
M6.L3 ♥ vs !?•

Quiz
•
1st - 5th Grade
20 questions
informatica1

Quiz
•
2nd Grade
19 questions
Aula de Windows

Quiz
•
1st - 5th Grade
21 questions
TIST-FTI - Revisão sobre Hardware

Quiz
•
2nd Grade
14 questions
Windows Server Instalação#1

Quiz
•
1st - 5th Grade
13 questions
Excel Avançado Aula 06

Quiz
•
2nd Grade
14 questions
SCRATCH DESKTOP

Quiz
•
1st - 9th Grade
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
10 questions
Chaffey

Quiz
•
9th - 12th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
22 questions
6-8 Digital Citizenship Review

Quiz
•
6th - 8th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
PBIS Terrace View

Quiz
•
1st - 5th Grade
20 questions
Addition and Subtraction

Quiz
•
2nd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
17 questions
Even and Odd Numbers

Quiz
•
2nd Grade
9 questions
Good Citizenship and Responsibility

Interactive video
•
1st - 3rd Grade
20 questions
Number Words Challenge

Quiz
•
1st - 5th Grade
12 questions
Place Value

Quiz
•
2nd Grade