user3245573
user3245573

Reputation: 21

How to select only first rows that satisfies conditions in MonetDB

I want to select only the first row from start that match my MonetDB query and to give it as output and ignoring the rest. How can I do so?

Upvotes: 1

Views: 542

Answers (1)

mkersten
mkersten

Reputation: 714

You could use the SQL LIMIT clause for this, e.g.

SELECT * FROM yourtable LIMIT 1;

Upvotes: 3

Related Questions