SELECT * FROM data WHERE phone == "79123456789"
SELECT * FROM data WHERE phone LIKE "7912345678%"
LIKE
CREATE TABLE contacts (
first_name text NOT NULL,
last_name text NOT NULL,
email text NOT NULL
);
CREATE UNIQUE INDEX idx_contacts_email
EXPLAIN QUERY PLAN
SELECT
first_name,
last_name,
email
FROM
contacts
WHERE
email LIKE 'lisa.smith@sqlitetutorial.ne%';
SEARCH TABLE contacts USING INDEX idx_contacts_email (email>? AND email<?)
TABLE SCAN