WHERE क्लॉज का उपयोग
निर्दिष्ट मान से बड़े मान वाले रिकॉर्ड प्राप्त करने के लिए:
select * from yourTableName where yourColumnName > yourValue;
उदाहरण
mysql> create table demo27 (id int not null auto_increment primary key, value int); mysql> insert into demo27(value) values(50), (500), (100), (400), (100), (800), (600);
500 से बड़े मान चुनना
mysql> select * from demo27 where value > 500;
+----+-------+ | id | value | +----+-------+ | 6 | 800 | | 7 | 600 | +----+-------+