Skip to content

How select achieves the same effect as join #5614

Answered by leiysky
hanyisong asked this question in Q&A
Discussion options

You must be logged in to vote
mysql> select * from t0, t1;
ERROR 1105 (HY000): Code: 1002, displayText = Unimplemented SELECT JOIN yet..

As @BohuTANG said, you need to enable the new planner. And we only support inner join with explicit join condition for now, it allows you to write a join query as:

select * from t inner join t1 on t.a = t1.a;
select * from t natural join t1;
select * from t inner join t1 using(a);

We are implementing the rest join types, you can track it in #5498.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Xuanwo
Comment options

You must be logged in to vote
2 replies
@Xuanwo
Comment options

Xuanwo May 27, 2022
Collaborator

@leiysky
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants