Use:
SELECT tbl.*
FROM TableName tbl
INNER JOIN
(
SELECT Id, MIN(Point) MinPoint
FROM TableName
GROUP BY Id
) tbl1
ON tbl1.id = tbl.id
WHERE tbl1.MinPoint = tbl.Point
More Related Contents:
- SQL Data models
- Get top results for each group (in Oracle)
- How to randomly select rows in SQL?
- What’s the difference between TRUNCATE and DELETE in SQL
- Oracle SQL query: Retrieve latest values per group based on time [duplicate]
- SQL best practice to deal with default sort order
- How can I get column names from a table in Oracle?
- single fixed table with multiple columns vs flexible abstract tables
- How can I send email from PostgreSQL trigger?
- How to get a list of column names on Sqlite3 database?
- How to design a database for User Defined Fields?
- How to delete Duplicates in MySQL table
- Composite Primary key vs additional “ID” column?
- mySQL Returning the top 5 of each category
- Logging ALL Queries on a SQL Server 2008 Express Database?
- Normalization in plain English
- Core Data Performance with Single Parent Entity
- Oracle – How to create a materialized view with FAST REFRESH and JOINS
- Why does VARCHAR need length specification?
- How to Optimize Queries in a Database – The Basics
- SQL server select distinct rows using most recent value only
- How can I implement SQL INTERSECT and MINUS operations in MS Access
- Postgres Error: More than one row returned by a subquery used as an expression
- Does ‘Select’ always order by primary key?
- How do I create and query linked database servers in SQL Server?
- The ORDER BY clause is invalid in views, inline functions, derived tables, subqueries, and common table expressions
- Should I commit or rollback a read transaction?
- Why are foreign keys more used in theory than in practice?
- What is difference between foreign key and reference key?
- ORA-01652: unable to extend temp segment by 128 in tablespace SYSTEM: How to extend?