What is the function of != operator?

Structured Query Language Quiz

Quiz
•

Paul Bowers
•
Computers
•
12th Grade
•
8 plays
•
Hard
Student preview

15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Less than
Greater than
Equal to
Not equal to
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statement is used to display all the fields of a table?
SELECT * FROM table_name
CREATE * FROM table_name
DISPLAY * FROM table_name
None of the above
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following clauses is used to select records while displaying results using a SELECT statement?
UPDATE
ORDER BY
WHERE
WHICH
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operator is used with wildcard characters?
BETWEEN … AND …
IN
LIKE
IS NULL
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Complete this query to display records in alphabetical order of field 'StudentName' from the table 'StudentDetails': SELECT * FROM StudentDetails ………………...
ORDER BY StudentName
ORDER BY StudentName Desc
WHERE StudentName = Asc
WHERE StudentName = Desc
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is used to combine rows from two or more tables based on a field that is common to the tables?
SELECT & JOIN
SELECT & COMBINE
MERGE
SELECT & MERGE
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the number in brackets of a data type represent?
Maximum number of bytes the data type can hold
Maximum number of bits the variable can hold
Maximum number of characters the variable can hold
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The receptionist of the hospital wants to display the PatientID and PatientName of all patients residing in Ward number 15. Which of the following is the correct statement?
SELECT * FROM PatientDetails WHERE WardNo=15;
SELECT Patientdetails.PatientID FROM Patientdetails WHERE WardNo=15;
SELECT PatientID, Name FROM Patientdetails WHERE WardNo=15;
SELECT PatientID and Name FROM Patientdetails WHERE WardNo=15;
9.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
A new patient is admitted to WardNo=20 and his details are to be entered. Which of the following represents the correct statement?
INSERT INTO PatientDetails (PatientID, PatientName, WardNo, DateOfBirth) VALUES ("45", "Alan Williams",#10/08/2010#, "20");
INSERT INTO PatientDetails (PatientID, PatientName, DateOfBirth, WardNo) VALUES ("45", "Alan Williams",#10/08/2010#, "20");
INSERT INTO PatientDetails VALUES ("45", "Alan Williams",#10/08/2010#, "20");
10.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The date of birth of Alan Williams must be updated to 15/12/2011. Which of the following is the correct statement?
UPDATE Patientdetails SET DateOfBirth= 15/12/2011 WHERE PatientID=45;
UPDATE Patientdetails SET DateOfBirth= #15/12/2011# WHERE PatientID=45;
UPDATE Patientdetails SET DateOfBirth= #15/12/2011# WHERE PatientID="45";
UPDATE Patientdetails SET PatientDetails.DateOfBirth= 15/12/2011 WHERE PatientID="45";
Explore all questions with a free account
Similar Resources on Quizizz
15 questions
SQL

Quiz
•
11th - 12th Grade
19 questions
SQL Basics

Quiz
•
9th - 12th Grade
10 questions
Normalisation

Quiz
•
12th Grade
10 questions
ICTDBS506 Creating a 'Car Pool' Database with MySQL

Quiz
•
12th Grade - University
20 questions
BASIS DATA KELAS XII RPL

Quiz
•
12th Grade
20 questions
TKJ KELAS 12 RANDOM

Quiz
•
12th Grade
15 questions
REST API and MySQL Quiz SKG

Quiz
•
12th Grade
20 questions
A2 SQL Commands

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

Quiz
•
3rd Grade
20 questions
math review

Quiz
•
4th Grade
21 questions
6th Grade Math CAASPP Practice

Quiz
•
6th Grade
13 questions
Cinco de mayo

Interactive video
•
6th - 8th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
10 questions
4th Grade Math CAASPP (part 1)

Quiz
•
4th Grade
45 questions
5th Grade CAASPP Math Review

Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
AP Computer Science Principles Practice Exam

Quiz
•
12th Grade
45 questions
AP CSP Exam Review

Quiz
•
9th - 12th Grade
27 questions
AP CSP Exam Review

Quiz
•
10th - 12th Grade
24 questions
Business Essentials Unit 5 (2023)

Quiz
•
12th Grade
65 questions
AP CSP Practice Exam

Quiz
•
9th - 12th Grade