I have a picture table which consists for users pictures
Table Name:picture
Columns: picture_id primary key,auto increment
user_id INT foreign key
path VARCHAR(75)
user_id 1
consists of 50
images, I want first 20
image path according to picture_id
and count
of all images of user_id 1
, that is 20
Records and count
= 50
with in a single query.