I have a query result like this img:
I want to limit result by column:ID values because the number of rows is unpredictable.(in this example, i want top two ID records. but you can see ID=12 has 5 rows and ID=7 has 6 rows.) I can't group by ID because each row has special values. Thank you :)