
УПР 31-60

Quiz
•
Information Technology (IT)
•
University
•
Easy
Нұрдәулет Қазбеков
Used 4+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a foreign key in a relational database?
To increase query speed
To enforce referential integrity between tables
To store unique values only
To generate primary keys automatically
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which postgresql command is used to permanently delete a table and all its data?
DROP TABLE table_name;
DELETE FROM table_name;
REMOVE TABLE table_name;
TRUNCATE TABLE table_name;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
You need to update multiple rows in a postgresql table at once Which SQL statement should you use?
ALTER TABLE
INSERT INTO
UPDATE table_name SET column_name = value WHERE condition
MODIFY TABLE
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function of the GROUP BY clause in SQL?
It groups rows with the same values in specified columns for aggregate functions
It filters results based on a given condition
It sorts records in descending order
It creates a backup of grouped rows
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How can you prevent duplicate records in a postgresql table column?
By using a FOREIGN KEY constraint
By enabling indexing on the column
By defining the column as UNIQUE
By using the AUTO_INCREMENT property
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a key difference between the DELETE and TRUNCATE commands in postgresql?
DELETE allows filtering with WHERE, while TRUNCATE removes all rows instantly
TRUNCATE removes specific rows based on conditions
DELETE is faster than TRUNCATE
TRUNCATE locks the database permanently
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which SQL function is used to return the number of rows in a table?
SUM()
AVG()
COUNT()
LENGTH()
Create a free account and access millions of resources
Similar Resources on Wayground
26 questions
Quiz sur l'optimisation SQL

Quiz
•
University
30 questions
HAWKIN'S HUNT ROUND -1 QUIZ

Quiz
•
University
31 questions
Soal Pilihan Ganda MySQL

Quiz
•
University
25 questions
Data Synchronization and Consistency - Quiz #2

Quiz
•
University
31 questions
TALLER DE BASE DE DATOS

Quiz
•
University
30 questions
Introduction to SQL Quiz

Quiz
•
University
35 questions
SQL Server Quiz

Quiz
•
University
30 questions
Coursera_web_2

Quiz
•
University
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
Discover more resources for Information Technology (IT)
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University