
Chapter 1-Intro to SQL (Chapter 1-3)

Quiz
•
Computers
•
10th - 12th Grade
•
Hard
Mel PJ
Used 8+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following allows you to add Address column with string value up to 50 characters in your EMP table?
ALTER TABLE emp ADD address VARCHAR2(50);
ALTER TABLE emp ADD COLUMN address VARCHAR2(50);
ALTER TABLE emp ADD address VARCHAR2(30);
ALTER TABLE emp DROP COLUMN address;
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is an example of Data Manipulation Language (DML) command?
CREATE
INSERT
ALTER
DROP
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which is an example of Data Definition Language (DDL) command?
INSERT
DELETE
CREATE
UPDATE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following will display all the records in EMPLOYEES table?
SELECT salary FROM employees;
SELECT * FROM employees;
SELECT ALL FROM employees;
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which command will execute properly?
INSERT INTO emp (101, 'Melissa', 300);
INSERT INTO emp VALUES (101, Melissa, 300);
INSERT INTO emp VALUES (101, 'Melissa', 300);
INSERT INTO emp VALUES ('101', Melissa, '300');
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which command will execute correctly?
CREATE TABLE emp (ID Number(5), Name Varchar2(25));
CREATE TABLE emp (ID Number(5), Name Varchar(25));
CREATE TABLE emp ID Number(5), Name Varchar2(25);
CREATE TABLE emp (ID Number(5), Name Varchar);
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will be the result If you will execute the following command: DELETE FROM emp;
The table will be deleted.
All the records will be deleted.
The structure of the table will be displayed.
The statement will not execute.
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
PRETEST BASIS DATA KELAS 11

Quiz
•
11th Grade
15 questions
A-Level Comp Sci 9618 Databases

Quiz
•
9th - 12th Grade
10 questions
Data Analytic Unit6

Quiz
•
12th Grade
15 questions
SQL COMMANDS PRE

Quiz
•
11th Grade
15 questions
Learning SQL

Quiz
•
11th - 12th Grade
10 questions
1. Flat File & Relational Databases

Quiz
•
10th Grade
13 questions
MySQL- group by and foreign key

Quiz
•
12th Grade
10 questions
ICT6_FT_W1_SW1

Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade