Search
 
SCRIPT & CODE EXAMPLE
 

SQL

SQL Greater Than or Equal to Operator

-- returns records where amount is greater than or equal to 400
SELECT order_id, item, amount
FROM Orders
WHERE amount >= 400;
Comment

SQL Less Than or Equal to Operator

-- returns records where amount is less than or equal to 400
SELECT order_id, item, amount
FROM Orders
WHERE amount <= 400;
Comment

sql greater than

select greatest(1,2,3,4,5);
Comment

SQL Greater than (>)

SELECT *
FROM Customers
WHERE age > 25;
Comment

SQL Less Than Operator

-- returns records where amount is less than 400 (exclusive)
SELECT order_id, item, amount
FROM Orders
WHERE amount < 400;
Comment

SQL Greater Than Operator

-- returns records where amount is greater than 400 (exclusive)
SELECT order_id, item, amount
FROM Orders
WHERE amount > 400;
Comment

PREVIOUS NEXT
Code Example
Sql :: oracle sql concatenate results into string 
Sql :: version and edition of SQL Server Database Engine 
Sql :: PSQL use LIKE with timestamps 
Sql :: mysql group by date 
Sql :: mysql if condition 
Sql :: mysql grant select update insert delete 
Sql :: import sql dump into postgresql database 
Sql :: sql extract from mail 
Sql :: failed to connect to mysql at localhost:3306 with user root 
Sql :: json with root element in sql server 
Sql :: select distinct after join 
Sql :: enable foreign key checks postgres 
Sql :: How to drop procedures in mysql ? 
Sql :: mysql query with sql to get the next row 
Sql :: SQL query to verify the size of the table 
Sql :: firebase query timestamp 
Sql :: mysql datetime with timezone offset 
Sql :: postgresql random phone number 
Sql :: export mysql db using command line 
Sql :: all_dependencies 
Sql :: how to find all children of a record with only parent ID in sql 
Sql :: mysql function 
Sql :: sql server pivot rows to columns 
Sql :: sql server current time without date 
Sql :: delete top 10 rows in sql 
Sql :: mysql not equal 
Sql :: sql use not in 
Sql :: sqlite3 pragma foreign keys 
Sql :: sql select non unique 
Sql :: oracle sql number to varchar2 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =