hi,
this is my sql code.
-----start code-----
SELECT Reeksen.ReeksNR , Reeksen.ReeksTe xt, Count(Strips.Ti tel) AS
NBTitel,
(SELECT Count(strips.Ti tel) AS AantalVanTitel FROM (Reeksen INNER JOIN
Strips ON Reeksen.ReeksNR = Strips.ReeksNR) INNER JOIN Pictures ON
Strips.Uniek = Pictures.Uniek where reeksen.ReeksNR =11) AS AantalPic
FROM Reeksen INNER JOIN Strips ON Reeksen.ReeksNR = Strips.ReeksNR
GROUP BY Reeksen.ReeksNR , Reeksen.ReeksTe xt;
-----end code-----
somewhere in the middle I need to reference to Reeksen.ReeksNR , the
first field in the statement. like now I always have the same value
for each row. and it shout be different for every row. if I change it
into Reeksen.ReeksNR it always returns the nubre of all records in the
table. Someone has I solution
Thanks Jan
this is my sql code.
-----start code-----
SELECT Reeksen.ReeksNR , Reeksen.ReeksTe xt, Count(Strips.Ti tel) AS
NBTitel,
(SELECT Count(strips.Ti tel) AS AantalVanTitel FROM (Reeksen INNER JOIN
Strips ON Reeksen.ReeksNR = Strips.ReeksNR) INNER JOIN Pictures ON
Strips.Uniek = Pictures.Uniek where reeksen.ReeksNR =11) AS AantalPic
FROM Reeksen INNER JOIN Strips ON Reeksen.ReeksNR = Strips.ReeksNR
GROUP BY Reeksen.ReeksNR , Reeksen.ReeksTe xt;
-----end code-----
somewhere in the middle I need to reference to Reeksen.ReeksNR , the
first field in the statement. like now I always have the same value
for each row. and it shout be different for every row. if I change it
into Reeksen.ReeksNR it always returns the nubre of all records in the
table. Someone has I solution
Thanks Jan
Comment