The correct answer is: C. Like
The LIKE
keyword is used to search for records that match a certain pattern. The pattern can include wildcards, such as *
and ?
, which can be used to match any number of characters. For example, the following query will return all records where the Name
field contains the word “John”:
SELECT * FROM Customers WHERE Name LIKE '%John%';
The Between
keyword is used to search for records that fall within a certain range of values. For example, the following query will return all records where the Age
field is between 20 and 30:
SELECT * FROM Customers WHERE Age BETWEEN 20 AND 30;
The Is Null
keyword is used to search for records where the field value is null. For example, the following query will return all records where the Email
field is null:
SELECT * FROM Customers WHERE Email IS NULL;
The Not
keyword is used to negate a search condition. For example, the following query will return all records where the Name
field is not “John”:
SELECT * FROM Customers WHERE Name NOT LIKE '%John%';