I have two tables
Table promos - which has contract table id like ["11,"12"]
Table contract - which has id reference name.
I am trying to get the name from contract table with below sql query but showing error in query
SELECT * FROM promos INNER JOIN contract ON promos.contracts_id=contract.id
Please suggest, how to get this type of ID with query without change IN TABLE.