Let\'s say I have the following data in the Customers table: (nothing more)
ID FirstName LastName
-------------------------------
20 John Macken
You can also use relational algebra. A bit lengthy procedure, but here it is just to understand how MAX() works:
E := πID (Table_Name)
E1 := πID (σID >= ID' ((ρID' E) ⋈ E)) – πID (σID < ID’ ((ρID' E) ⋈ E))
Your answer: Table_Name ⋈ E1
Basically what you do is subtract set of ordered relation(a,b) in which a<b from A where a, b ∈ A.
For relation algebra symbols see: Relational algebra From Wikipedia