database Quiz 3 Revision

database Quiz 3 Revision

University

25 Qs

quiz-placeholder

Similar activities

TEST FINAL - Base y Estructura de Datos I

TEST FINAL - Base y Estructura de Datos I

University

20 Qs

Chapt.5 - Relational Database Model

Chapt.5 - Relational Database Model

University

20 Qs

DBMS

DBMS

University

20 Qs

Quiz PBD 21Okt2022

Quiz PBD 21Okt2022

University

21 Qs

Quiz - 2 ( DQL, DDL, DML, Joins and Set

Quiz - 2 ( DQL, DDL, DML, Joins and Set

University

25 Qs

Quiz Pengelompokan dan Kriteria Data

Quiz Pengelompokan dan Kriteria Data

University

30 Qs

DBA CA 2

DBA CA 2

University

20 Qs

SQL T2

SQL T2

University

23 Qs

database Quiz 3 Revision

database Quiz 3 Revision

Assessment

Quiz

Computers

University

Medium

Created by

hasan kadhem

Used 5+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of these show all the data from employees table?

select * from employees;

SELECT * FROM employees;

both are correct

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

if you want to make the id column a primary key what do you add in the blank

create table students

(id number(8) _______,

name varchar2(20),

address varchar2(20));

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if i wanted to add a column to have a unique constraint which of these do i choose ?

create table students

(id number(10) primary key,

name varchar2(20),

phone number(9) _______);

Not repeated

constraint phone_unique unique

constraint (phone unique) unique

constraint phone_unique unique (phone)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of these is a named primary key constraint

student_id number(8) constraint student_pk primary key

student_id number(8) primary key

neither of them

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of these data types is better suited for Bahraini dinars

number(10,3)

varchar2(10)

number(10)

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

what do you type to calculate the average value of the salary column

select ___________ from employees;

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

how do you ensure that no null values are entered into the address column?

create table students

(student_id number(10),

name varchar2(20),

address varchar2(40) ______ );

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?