Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WITH subqueries #2281

Closed
AlexanderMatveev opened this issue Mar 17, 2025 · 2 comments
Closed

WITH subqueries #2281

AlexanderMatveev opened this issue Mar 17, 2025 · 2 comments

Comments

@AlexanderMatveev
Copy link

AlexanderMatveev commented Mar 17, 2025

My PostgreSQL raw query is:

WITH some_select AS (SELECT ...),
     some_select2 AS (SELECT ...)
SELECT ...
FROM some_select
WHERE field > (SELECT field FROM some_select2)

How can I make this with with squirrel?

@jackc
Copy link
Owner

jackc commented Mar 22, 2025

I think you posted this in the wrong project. This is pgx not squirrel.

@jackc jackc closed this as completed Mar 22, 2025
@AlexanderMatveev
Copy link
Author

I think you posted this in the wrong project. This is pgx not squirrel.

Oh, thank you! Sorry to bother you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants