Joining Tables

Joining Tables: A and B
AskAI

This technical problem deals with joining two tables together in order to find all the rows in Table A that have a match in Table B.

153
Oct 26
Employees in departments with more than 5 employees
AskAI

This technical problem involves writing a SQL query to find the names of employees who work in departments with more than 5 employees. An example input is given, along with the expected output.

148
Oct 26
Given two tables, A and B, write a SQL query to find all the rows in A that...
AskAI

Write a SQL query to find all the rows in table A that have a corresponding row in table B with the same value in column x.

146
Oct 26
Query to return all rows from Table1 that have a matching row in Table2
AskAI

Write a query that returns all rows from Table1 that have a matching row in Table2.

164
Oct 26
Find all employees in the Sales department with a salary greater than $50,000
AskAI

Write a query that returns the id, first name, and last name of all employees who work in the Sales department and have a salary greater than $50,000.

114
Oct 26
Customer Orders by Customer
AskAI

This technical problem deals with finding the total number of orders for each customer, using data from the "customers" and "orders" tables.

171
Oct 26
Find all rows in A that have a matching row in B
AskAI

This technical problem deals with finding all rows in table A that have a matching row in table B. An example is given of input and output tables.

146
Oct 26
A and B Join on Column X
AskAI

Given two tables, A and B, write a SQL query to find all the pairs of records (a, b) such that a and b have the same value for column X.

124
Oct 26