I have a database with orign_ip, destination_ip, and other columns.
I am looking for a way to get in SQL just the connections between two IP's, I need to get just the list.
This is my first step :
SELECT DISTINCT orig_h , resp_h from gustavo.conn;
- 15.214.135.70 15.214.159.100
- 15.214.136.45 15.214.137.70
But How I can get from this result the just the rows that match with
15.214.135.70 15.214.159.100
orig_h = 15.214.159.100andresp_h = 15.214.135.70would you want to see that as well? – Aug 21 '19 at 11:44