实例 SQL 比较运算符大于 >

x
 
SELECT * FROM Products
WHERE Price > 30;
        
                    

输出结果

ProductIDProductNameSupplierIDCategoryIDQuantityPerUnitPriceUnitsInStockUnitsOnOrderReorderLevelDiscontinued
8Northwoods Cranberry Sauce3212 - 12 oz jars40.0000600False
9Mishi Kobe Niku4618 - 500 g pkgs.97.00002900True
10Ikura4812 - 200 ml jars31.00003100False
12Queso Manchego La Pastora5410 - 500 g pkgs.38.00008600False
17Alice Mutton7620 - 1 kg tins39.0000000True
18Carnarvon Tigers7816 kg pkg.62.50004200False
20Sir Rodney's Marmalade8330 gift boxes81.00004000False
26Gumb?r Gummib?rchen113100 - 250 g bags31.23001500False
27Schoggi Schokolade113100 - 100 g pieces43.900049030False
28R?ssle Sauerkraut12725 - 825 g cans45.60002600True
29Thüringer Rostbratwurst12650 bags x 30 sausgs.123.7900000True
32Mascarpone Fabioli14424 - 200 g pkgs.32.000094025False
38C?te de Blaye18112 - 75 cl bottles263.500017015False
43Ipoh Coffee20116 - 500 g tins46.0000171025False
51Manjimup Dried Apples24750 - 300 g pkgs.53.000020010False
53Perth Pasties24648 pieces32.8000000True
56Gnocchi di nonna Alice26524 - 250 g pkgs.38.0000211030False
59Raclette Courdavault2845 kg pkg.55.00007900False
60Camembert Pierrot28415 - 300 g rounds34.00001900False
62Tarte au sucre29348 pies49.30001700False
63Vegie-spread7215 - 625 g jars43.90002405False
64Wimmers gute Semmelkn?del12520 bags x 4 pieces33.2500228030False
69Gudbrandsdalsost15410 kg pkg.36.000026015False
72Mozzarella di Giovanni14424 - 200 g pkgs.34.80001400False