
CS404 T09a
Authored by mike wong
Computers
Professional Development
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
1. What is the correct SQL command to create a new table named EMP with columns empno and ename?
CREATE EMP (empno, ename);
CREATE TABLE EMP (empno NUMBER, ename VARCHAR2(20));
CREATE TABLE EMP VALUES (empno, ename);
NEW TABLE EMP (empno NUMBER, ename CHAR);
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
2. Which SQL keyword is used to remove a table from the database?
REMOVE
DELETE
TRUNCATE
DROP
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
3. What happens when you use the TRUNCATE TABLE emp command?
The table structure is deleted
All data is removed but the table remains
The table is locked
Only the first row is deleted
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
4. What is the maximum length for a VARCHAR2 field in Oracle?
256
1000
2000
4000
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
5. Which of the following statements defines a PRIMARY KEY constraint at table level?
PRIMARY KEY empno
CONSTRAINT pk_emp PRIMARY KEY (empno)
PRIMARY (empno)
CONSTRAINT PRIMARY KEY (empno)
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
6. Which of the following is a valid CHECK constraint?
CHECK salary < 10000
CHECK (salary > 0)
CHECK salary IS NOT NULL
CHECK (salary = 'HIGH')
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7. What does the following statement do?
ALTER TABLE emp DROP COLUMN project;
Deletes the project column from emp
Deletes the entire emp table
Renames the column
Converts column type
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
10 questions
SQL Select 1
Quiz
•
Professional Development
15 questions
Looker Studio 1 Quiz
Quiz
•
Professional Development
15 questions
Website Practical Assessment
Quiz
•
Professional Development
15 questions
Programming - Screening Test
Quiz
•
3rd Grade - Professio...
10 questions
Excel Chapter 2
Quiz
•
Professional Development
15 questions
5) Kursus Teknikal Day 3
Quiz
•
Professional Development
10 questions
PHP Tours meetup #30 Laravel, Selenium et Node.js
Quiz
•
University - Professi...
10 questions
PERTEMUAN 1 HTML DASAR
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
Discover more resources for Computers
20 questions
Black History Month Trivia Game #1
Quiz
•
Professional Development
100 questions
Screening Test Customer Service
Quiz
•
Professional Development
20 questions
90s Cartoons
Quiz
•
Professional Development
10 questions
Reading a ruler in Inches
Quiz
•
4th Grade - Professio...
16 questions
Parallel, Perpendicular, and Intersecting Lines
Quiz
•
KG - Professional Dev...
12 questions
Valentines Day Trivia
Quiz
•
Professional Development