Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

2 max value in sql

SELECT MAX (column_name) 
FROM table_name 
WHERE column_name NOT IN (SELECT Max (column_name) 
                          FROM table_name);
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #max #sql
ADD COMMENT
Topic
Name
7+4 =