Nabil Schear
08/26/2020, 3:58 PMselect c.serial_number from curl_certificate as c where hostname="localhost" and port in (Select port from listening_ports where path="");
but i instead need to combine “localhost” and port into one field for hostname. Is there a way of doing this in SQL without the curl_certificate table having support for a separate port field? thxSeth Hanford
08/26/2020, 5:21 PMSELECT path, mtime, size, sha256, (select directory from users where directory like '/Users/%') u FROM file JOIN hash USING (path) WHERE path like u || '/tmp/%/'
|| 'c.txt';
Nabil Schear
08/26/2020, 7:39 PMSeth Hanford
08/26/2020, 7:40 PMNabil Schear
08/26/2020, 7:41 PMSeth Hanford
08/26/2020, 7:42 PMNabil Schear
08/26/2020, 8:44 PMselect c.* from curl_certificate as c where hostname in (Select distinct "localhost:"||port from listening_ports where protocol=6 and (address!="127.0.0.1" and address!="::1") ORDER BY port);