I have the following structure:
main: id | meta_data
sub: main_id | another_table_id
main is connected to sub in a one to many.
I wish to get back my result as one record which will look like:
[main_id] [meta_data] [another_table_id,another_table_id,another_table_id]
Is it possible in MySql without using GROUP BY?