Good day.
There is a third-party handler that creates an array array (32,15,42,64) ;
On my part, there are records in the database in which one of the fields contains the same data but in an arbitrary order of 15.42 322.64 . The records cannot repeat the same data set from the array, the data is always numeric. Individual elements of the array are valid 32 can be. The number of records in the database increases quickly enough. Make a LIKE request for one element and then process the record array_diff 'in search of the long needed in my opinion (perhaps I am mistaken).
Question: Is there a way to do this by querying the database without specifying the exact order?
("id", "1,2,3,4")make 4 entries("id", "1"),("id", "2"),("id", "3"),("id", "4"). - fori1tonteamstable in which you will store team information (id, team_name, regdate, tag), and a separateteam_memberstable in which you will store lists of players in each team (team_id, player_id). - fori1ton