2
After making an Inner Join between user (1) and image (N) tables, the following table is returned (the id refers to the user id and the filename to the image file):
| id | filename
| 12 | img1.png
| 12 | img2.png
| 13 |img3.png
| 13 |img4.png
How to recover only 1 image of each id? (without using Where = id, because at the time of query, I do not have id to compare.)
You need to explain better what you want. The way you are is not possible to answer
– João Paraná
Post your SQL also for analysis?
– Sr. André Baill