Informatica - Scuola secondaria di secondo gradoSystem System / Volume Sistemi Informativi Aziendali A per il secondo biennio

MySQL - Quiz

4 esercizi
SVOLGI
INFO

Informatica

Anomalies

Which of the following anomalies may occur with the Repeatable Read isolation level?

A:

Lost Updates.

B:

Dirty Read.

C:

Non-repeatable read.

D:

Phantom records.

E:

None.

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

A MySQL statement

The MySQL statement to add a foreign key Fk to an existing table tab2 referencing to primary key Pk in tab1 is:

A:

ALTER TABLE tab1 ADD FOREIGN KEY (Fk)

REFERENCES tab2(Pk);

B:

ALTER TABLE tab2 ADD FOREIGN KEY (Fk)

REFERENCES tab1(Pk);

C:

ALTER TABLE tab2 ADD FOREIGN KEY (Fk)

REFERENCES Pk (tab1);

D:

ALTER TABLE tab1 ADD FOREIGN KEY (Pk)

REFERENCES tab2(Fk);

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

An output

What is the output of the following commands?

SET @val = 10;
SELECT Titles FROM books
WHERE Price < @val;

A:

The books of unknown cost.

B:

An error message.

C:

The books that cost less than 10 euro.

D:

The books that contain 'val' in the title.

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza

Informatica

A database table called users

Which MySQL statement is used to create a database table called users?

A:

CREATE DATABASE users

B:

CREATE DATABASE TABLE users

C:

CREATE TABLE users

D:

CREATE users

Scelta multipla
1

Il punteggio di un esercizio è determinato
dalla difficoltà: da 1 (più facile) a 5 (più
difficile). Vuoi saperne di più? Consulta il
Centro assistenza