specterious
n00b
- Joined
- Jun 6, 2003
- Messages
- 60
I created a select query that works in version 4.1 and does not in 4.0
It goes a little something like this...
This works in 4.1, but 4.0 gives an error at left join ( so I can't use the nested select inside the left join. Does MySQL 4.0 not support that?
It goes a little something like this...
Code:
select * from `table1`
left join (select `id` from `table2` order by `id` limit 1) on table1.id = table2.id
This works in 4.1, but 4.0 gives an error at left join ( so I can't use the nested select inside the left join. Does MySQL 4.0 not support that?