Only the User Number
A service check on orders returns only user_id for user_id = 7. Add an index on user_id so this tiny result can be produced as quickly as possible.
Speed this query up with an index
SELECT user_id FROM orders WHERE user_id = 7
Iba CREATE/ALTER/DROP — žiadny záverečný SELECT nie je potrebný.
Prihláste sa, aby ste videli históriu odoslaní
Prihlásiť saPrihláste sa, aby ste mohli používať AI mentora
Prihlásiť sa