
database Quiz 3 Revision
Authored by hasan kadhem
Computers
University
Used 5+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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) ______ );
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Quiz PRD Teknik Industri 2023
Quiz
•
University
20 questions
Photoshop Dasar 1
Quiz
•
KG - Professional Dev...
20 questions
Quiz Materi Gabungan PL/SQL 14Juni2022
Quiz
•
University
20 questions
Excel Functions and Features Quiz
Quiz
•
University
20 questions
SQL_2
Quiz
•
University
20 questions
BERPIKIR KOMPUTASIONAL
Quiz
•
University
20 questions
La sintassi CSS
Quiz
•
9th Grade - Professio...
20 questions
DBMS Quiz
Quiz
•
University
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
23 questions
Subject Verb Agreement
Quiz
•
9th Grade - University
5 questions
What is Presidents' Day?
Interactive video
•
10th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
20 questions
Mardi Gras History
Quiz
•
6th Grade - University
10 questions
The Roaring 20's Crash Course US History
Interactive video
•
11th Grade - University
17 questions
Review9_TEACHER
Quiz
•
University