79247377

Date: 2024-12-03 11:28:12
Score: 0.5
Natty:
Report link

You can display the data you want by joining two tables and specifying the desired product IDs. The following expression provides this.

  SELECT c.* FROM Customers AS c LEFT JOIN Sales s ON s.CustId = c.Id WHERE s.ProdId IN (22,36);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mustafa