79158745

Date: 2024-11-05 10:51:26
Score: 2
Natty:
Report link

select n.activity_date,n.advertiser_id,c.type as type from a JOIN b as n -- because of the alias name you've got to reference table b as n -- and you've omitted the AND operator on (a.id=n.id AND a.name=n.name)
JOIN c on n.c_id=c.id where n.country='CA' -- you've got to use n instead of b limit 10;

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: SUNDRAM KUMARI