© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago
STILLWATER

Selecting symmetric rows in sql

I want to make a SQL query to select symmetric rows
for example we have two columns A and B,
Select rows which have x,y and y,x existing in the table.
A and B are of type uuid
return x,y or y,x any
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Selecting table rows right after inserting a new one
SupabaseSSupabase / help-and-questions
3w ago
How do I aggregate multiple rows of a joined table in SQL?
SupabaseSSupabase / help-and-questions
4y ago
SQL queries in Supabase
SupabaseSSupabase / help-and-questions
4y ago
Selecting Row After Trigger
SupabaseSSupabase / help-and-questions
4y ago