![sql - Get MAX ID from multiple records in table where ID2 is the same and where Value 3<>0 - Stack Overflow sql - Get MAX ID from multiple records in table where ID2 is the same and where Value 3<>0 - Stack Overflow](https://i.stack.imgur.com/1JYW2.jpg)
sql - Get MAX ID from multiple records in table where ID2 is the same and where Value 3<>0 - Stack Overflow
![c# - how to get max id from master table and based on that insert one record in master table and one or more entry in child table - Stack Overflow c# - how to get max id from master table and based on that insert one record in master table and one or more entry in child table - Stack Overflow](https://i.stack.imgur.com/SdHSX.png)
c# - how to get max id from master table and based on that insert one record in master table and one or more entry in child table - Stack Overflow
![sql - How can I select max value and second max value from table and order by city id? - Stack Overflow sql - How can I select max value and second max value from table and order by city id? - Stack Overflow](https://i.stack.imgur.com/2iiCi.jpg)