Il vous suffit d'ajouter la clause GROUP BY, comme ceci :
SELECT
read_pub_id,
read_artc_id,
count(read_artc_id) as times_read
FROM
reads_t
GROUP BY
read_pub_id,
read_artc_id;
:)
Il vous suffit d'ajouter la clause GROUP BY, comme ceci :
SELECT
read_pub_id,
read_artc_id,
count(read_artc_id) as times_read
FROM
reads_t
GROUP BY
read_pub_id,
read_artc_id;
:)