sql queries - 2

Flashcard
•
Quizizz Content
•
Computers
•
12th Grade
•
Hard
Student preview

16 questions
Show all answers
1.
FLASHCARD
Front
Which would show all fields from the Pupils table? Options: SELECT * FROM Pupils, SELECT Name, Form FROM Pupils, SELECT * FROM *, SELECT * FROM Forms
Back
SELECT * FROM Pupils
2.
FLASHCARD
Front
Which Symbol means "All"? Options: *, &, %, !
Back
*
3.
FLASHCARD
Front
Which would find pupils with "er" anywhere in their name? Options: SELECT * FROM Pupils Where Name = "%er"; SELECT * FROM Pupils Where Name = "$er$"; SELECT * FROM Pupils Where Name = "%er%"; SELECT * FROM Pupils Where Name = "er%"
Back
SELECT * FROM Pupils Where Name = "%er%"
4.
FLASHCARD
Front
What is it called when SQL is used in an attempt to harm a database?
Back
SQL Injection
5.
FLASHCARD
Front
Choose the correct query: SELECT * FROM EMP WHERE NAME=NULL, SELECT * FROM EMP WHERE NAME IS NULL;, SELECT FROM EMP WHERE NAME IS NULL;, SELECT *FROM EMP WHERE NAME IS 'NULL';
Back
SELECT * FROM EMP WHERE NAME IS NULL;
6.
FLASHCARD
Front
The restrictions or conditions applied on data are known as ______________
Back
Constraints
7.
FLASHCARD
Front
The primary key of a table which is present in another table for referencing is known as ________________________
Back
Foreign Key
8.
FLASHCARD
Front
What will be the output?
SELECT ROUND(36.7894,2)
Back
38.79
9.
FLASHCARD
Front
What will be the output of: SELECT INSTR('KVMANKHURD','MAN');
Back
3
10.
FLASHCARD
Front
What will be the output?
SELECT TRUNCATE(36.5643,2);
Back
36.56
Explore all questions with a free account
Similar Resources on Quizizz
15 questions
Basic Facts About Hypothesis Testing

•
12th Grade
15 questions
Significance Tests for Means

•
12th Grade - University
15 questions
Unit 5B Test Review: Foundations of Hypothesis Testing

•
12th Grade
10 questions
Hypothesis Testing

•
11th Grade
15 questions
Hypothesis Testing WS # 1

•
12th Grade
15 questions
AP Statistics Unit 5 Review

•
12th Grade
15 questions
SIS 1st Semester Exam Review: Yellow

•
12th Grade
15 questions
1 proportion significance test

•
11th - 12th Grade
Popular Resources on Quizizz
17 questions
CAASPP Math Practice 3rd

•
3rd Grade
15 questions
Grade 3 Simulation Assessment 1

•
3rd Grade
20 questions
math review

•
4th Grade
19 questions
HCS Grade 5 Simulation Assessment_1 2425sy

•
5th Grade
16 questions
Grade 3 Simulation Assessment 2

•
3rd Grade
21 questions
6th Grade Math CAASPP Practice

•
6th Grade
13 questions
Cinco de mayo

•
6th - 8th Grade
20 questions
Reading Comprehension

•
5th Grade