skip to Main Content

Postgresql query fo find IP address

I'm trying to find an IP address that match a range of hosts (172.24.12.???), but none of the following queries are working: select * from pg_catalog.pg_stat_activity --where client_addr <> E'(?|172.24.12.)'::inet; --where client_addr <> E'(://|^)172\.24\.12\.[0-9]'::inet I'm getting two different errors. SQL…

VIEW QUESTION

finding max price with date – Mysql

I am new to SQL. in my query, I need max closeprice(column-name) with date (column-name). every month of that year. I created this query: Select max(close), date from commodity where commodity ='rice' and location= 'pune' year(date) ='2022' group by month(date)…

VIEW QUESTION
Back To Top
Search