Write a SQL query that returns the name, age, and city of residence for all customers who live in the same city as customer id 3.
Given two tables, A and B, write a SQL query to find all pairs of rows, one from each table, such that the values in the columns match.
This technical problem involves writing a SQL query to find all employees who live in the same city as their manager. Given a table of employee data, the query should return all employees who share a city with their manager. As seen in the example input/output, this should include employees who have a manager in a different city.
Given two tables, A and B, write a SQL query to find all the rows in A that have a matching row in B.
Write a SQL query to find all the rows in Table A that have no matching row in Table B.
This technical problem involves writing a SQL query to find the names of customers who have purchased products with a price greater than $10. The example input and output are provided.
Given an array of integers, this problem looks for the longest increasing subsequence within that array.