PHP expert |
|
oplossing:
SELECT pagIdent AS PaginaIdentifier, (
SELECT COUNT(
track_commitments.hitID
IN (
SELECT id
FROM track_hit
WHERE pagIdent = PaginaIdentifier
)
)
) AS hits
FROM track_hit, track_commitments
SELECT pagIdent AS PaginaIdentifier, ( track_commitments.hitID IN ( SELECT id FROM track_hit WHERE pagIdent = PaginaIdentifier ) ) ) AS hits FROM track_hit, track_commitments
|