1. What is a data type in SQL?
BENGKEL SQL : SLOT 2

Quiz
•
Mathematics
•
University
•
Hard
NUR AZMAN
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
AP Stat Semester

Quiz
•
12th Grade - University
15 questions
Functions Algebra I Regents

Quiz
•
9th Grade - University
15 questions
Create Linear Equation from a Table

Quiz
•
9th Grade - University
14 questions
AP Statistics Review

Quiz
•
10th Grade - University
14 questions
Determining Slope and Y Intercept

Quiz
•
8th Grade - University
11 questions
DSAN Game Night

Quiz
•
University
15 questions
Finding Slope and Intercepts

Quiz
•
9th Grade - University
15 questions
AP Stats CED Unit 2 Review

Quiz
•
11th Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade