SQL Last

Utility to generate a SQL query for Last record of a column in a Table.
Please enter TableName and Column name and press Submit button.

Step 1. TableName Step 2. ColumnName Step 3. Press Button

Example: Sql Query to get the last record of a column from table Employee.
TableName: Employee, Column: name

select name FROM Employee ORDER BY name DESC WHERE ROWNUM <=1; [/code]