Example
My query is:
SELECT code_CAT FROM categories WHERE id_code IN(14,14,14,14);
output is:
53724
Only one row.
Instead I want this output:
53724
53724
53724
53724
How can I achieve this? I want this because I need to use the records on an Excel Spreadsheet.
categorieswhere code_CAT has the value 14. Repeating that same id_code value in theINdoesn't change that. I don't follow why, if there is only one such row in the table, you want it repeated four times. Could you elaborate? – mdoyle Jan 3 at 17:48