
SQL BASIC

Passage
•
Computers, Other
•
12th Grade
•
Medium
Jayasree Venkateswaran
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
To remove a record from a table, which SQL statement would you use?
REMOVE
DELETE
CANCEL
ERADICATE
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
I want to create a table in my table named "actors" with two columns: "name" and "age." What statement will do this?
CREATE TABLE actors (name varchar(10), age INT);
CREATE actors WITH COLUMNS (name, age);
CREATE DATABASE actors WITH COLUMNS (name string(10), age INT);
CREATE actors (name, age): TABLE, TEXT, INTEGER;
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
I want to select all columns in my "actors" table for all actors. How can I do that?
SELECT * FROM actors;
SELECT age FROM actors;
SELECT * FROM actors WHERE age > 30;
SELECT name, age FROM actors WHERE age < 30;
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
I want to add the actor "Brad Pitt" (aged 56) to my table "actors." Which statement will do this?
INSERT INTO actors VALUES ("Brad Pitt", 56);
INSERT "Brad Pitt" AND 56 INTO actors;
UPDATE age = 56 WHERE name = "Brad Pitt";
CREATE ENTRY ("Brad Pitt", 56) IN TABLE actors;
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a database for an online shopping company, all the information about a single customer would be stored as a ...
Field
Record
Relationship
Table
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
In a database for an online shopping company, all the customer information would be stored as a ...
Field
Record
Relationship
Table
7.
FILL IN THE BLANK QUESTION
45 sec • 1 pt
In the table shown, which field is likely to be the primary key?
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
Q3-PROGRAMMING-SUMMATIVE-TEST-SY2023-2024

Quiz
•
12th Grade
38 questions
Azure Architecture and Services part 2

Quiz
•
9th - 12th Grade
31 questions
Microsoft Access

Quiz
•
8th Grade - University
34 questions
Designing and Modifying Database Tables Review

Quiz
•
9th - 12th Grade
40 questions
inf03 t1

Quiz
•
10th - 12th Grade
40 questions
SQL Query Quiz

Quiz
•
12th Grade
36 questions
Quiz Manajemen Data dan Informasi Pagi

Quiz
•
12th Grade
41 questions
BASIS DATA KELAS XII KUIZZ

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade