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
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
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Choosing the Best Two-Way Table to Fit the Data

Quiz
•
8th Grade - University
15 questions
Interpret and Represent Data

Quiz
•
3rd Grade - University
15 questions
Frequency Table, Dot Plot, Bar Graph, Stem-and-Leaf Plot, or Scatterplot

Quiz
•
5th Grade - University
15 questions
Averages and Grouped Data

Quiz
•
10th Grade - University
10 questions
Quadratic, Linear and Exponential Functions

Quiz
•
9th Grade - University
15 questions
Grouped Distribution Frequency

Quiz
•
9th Grade - University
9 questions
Find the Median from a Frequency Table

Quiz
•
6th Grade - University
14 questions
Frequency Data

Quiz
•
10th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Mathematics
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
24 questions
Domain and Range

Quiz
•
9th Grade - University
22 questions
Line Symmetry and Rotational Symmetry

Quiz
•
KG - University
24 questions
Parallel Lines Cut By A Transversal

Quiz
•
KG - University
24 questions
AP Calculus AB Unit 1 Limits and Continuity Test Study

Quiz
•
11th Grade - University
8 questions
Solving Equations with Variables on Both Sides

Lesson
•
University