For array = [1,1,1,2], DB table has entry for ids-1,2.
The query -> "SELECT * FROM table WHERE id in array" returns only two rows.
Is there a way where it will return 4 rows instead?
For array = [1,1,1,2], DB table has entry for ids-1,2.
The query -> "SELECT * FROM table WHERE id in array" returns only two rows.
Is there a way where it will return 4 rows instead?