SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT k.customer_id, k.first_name, k.last_name,c.customer_id, c.first_name, c.last_name from customer as k cross join customer as c on k.customer_id = c.customer_id where k.first_name IN (SELECT last_name FROM customer) or c.last_name IN (SELECT first_name FROM customer) order by k.customer_id ; show status like 'Last_query_cost';

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear