Lektion 3 af 9
WHERE og operatorer
WHERE filtrerer resultater. Brug operatorer som =, !=, > og <. Kombinér betingelser med AND og OR.
SQL
SELECT * FROM users WHERE age >= 18;
SELECT * FROM products WHERE price < 50;
SELECT * FROM users
WHERE country = 'Denmark' AND age > 25;
SELECT * FROM orders
WHERE status = 'pending' OR status = 'processing';