
BENGKEL SQL : SLOT 2
Authored by NUR AZMAN
Mathematics
University
Used 3+ 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
30 sec • 1 pt
1. What is a data type in SQL?
a. A method for storing data in a table
b. A method for sorting data in a table
c. A type of database schema
d. A method for securing data in a table
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2. What is a string in SQL?
a. A sequence of floating-point numbers
b. A sequence of characters
c. A sequence of Booleans
d. A sequence of integers
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
3. Which integer data type can store numbers ranging from less than negative two billion to more than positive two billion?
SMALLINT
BIGINT
INT
TINYINT
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4. What is a schema in SQL?
a. A method for storing data
b. A type of data
c. A blueprint of a database
d. A type of database
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5. Which of the following is a reason for using data types in SQL?
a. To make the data more difficult to understand
b. To make the data more difficult to access
c. To make the data harder to manipulate
d. To make the data take up less storage space
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
6. What is the correct syntax for creating a table named "employees" with columns "employee_id" (integer), "name" (string), "age" (integer), and "salary" (float)?
a. CREATE TABLE employees (employee_id INT, name VARCHAR(255), age INT, salary NUMERIC(10,2));
b. CREATE TABLE employees (employee_id INT, name VARCHAR, age INT, salary FLOAT);
c. CREATE TABLE employees (employee_id INTEGER, name STRING, age INTEGER, salary FLOAT);
d. CREATE TABLE employees (employee_id INT, name TEXT, age INT, salary REAL);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7. Which SQL keyword is used to retrieve unique values from a table?
a. SELECT UNIQUE VALUES
b. SELECT UNIQUE ROWS
c. SELECT UNIQUE
d. SELECT DISTINCT
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
Mengenal Bentuk Aljabar
Quiz
•
7th Grade - University
11 questions
Momento da matemática- 3º ano
Quiz
•
University
14 questions
Escalas (concepto)
Quiz
•
8th Grade - University
15 questions
Find the Zeros of a Polynomial
Quiz
•
10th Grade - University
10 questions
Quiz el grupo mas chevere
Quiz
•
University
14 questions
UMNG PROSPES 20240401
Quiz
•
University
10 questions
PROBLEM SOLVING
Quiz
•
University
14 questions
Quiz - CM6
Quiz
•
University
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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade