Mam utworzoną listę wyświetlaną za pomocą:
$sql = "SELECT a.*, b.*, c.*, d.userName FROM object AS a, type AS b, state AS c, users AS d WHERE a.obTypeId = b.typeId AND a.obStateId = c.stateId AND a.obUserId = d.userId ORDER by a.obId DESC LIMIT $start, $n";
Jak ograniczyć wyświetlane wyniki aby z kategorii "Type" wyświetlało się tylko jedno, podane przeze mnie ID?