Created
January 11, 2017 07:38
-
-
Save kmoppel/e07042056245ee6d9e0caeed557cfac1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- subqueries | |
explain select * from t_counter c, lateral (select * from t_joiny j where j.a = c.id) s; | |
explain select * from t_counter c join lateral (select * from t_joiny j where j.a = c.id) s on true; | |
-- functions | |
explain select * from t_counter, lateral (select * from generate_series(1, id)) s; | |
explain select * from t_counter, generate_series(1, id) s; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment