sql double index
CREATE INDEX idx_actor_name ON ACTOR (LAST_NAME, FIRST_NAME);
SELECT * FROM CUSTOMER c WHERE ADDRESS_ID = 10
AND exists(
SELECT 1 FROM ACTOR a
WHERE c.FIRST_NAME = a.FIRST_NAME
AND c.LAST_NAME = a.LAST_NAME
);
sql double index
CREATE INDEX idx_actor_name ON ACTOR (LAST_NAME, FIRST_NAME);
SELECT * FROM CUSTOMER c WHERE ADDRESS_ID = 10
AND exists(
SELECT 1 FROM ACTOR a
WHERE c.FIRST_NAME = a.FIRST_NAME
AND c.LAST_NAME = a.LAST_NAME
);
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us