Current syntax:
insert into log_file
(
table_id,
text,
today_date,
user_id
)
values
(
(select id from table where table_no in ('Table1','Table2')),
"Some Text Now",
now(),
143
);
Of course I get the error 'ERROR 1242 (21000): Subquery returns more than 1 row'
How can I accomdate this without having to write out a lot of individual queries?