Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

postgres select max value

SELECT * FROM payment
WHERE amount = (
 	SELECT
  	   MAX(amount)
	FROM
	   payment
);
Source by www.postgresqltutorial.com #
 
PREVIOUS NEXT
Tagged: #postgres #select #max
ADD COMMENT
Topic
Name
5+9 =