Hi all, i know it may be very simple query, but please help me out.
i have item id 1,2,3,4 etc....
now i want to get all row regrading that item id
what will be mysql query?? i used IN
operator but this return only one row
SELECT item_id,item_name FROM tbl_item_detail WHERE item_id IN('1,3,4')
my table structure is below
item_id | item_name |.....
1 | first |
2 | second |
3 | third |
4 | fourth |
. .
which operator i have to use?or what will be perfect query for this?