
❓ Question

❗ Answer
SELECT DISTINCT city
FROM station
WHERE NOT left(city,1) IN ('A','E','I','O','U');
📌 Discussion
❓ Question

❗ Answer
SELECT DISTINCT city
FROM station
WHERE NOT LOWER(RIGHT(city,1)) IN ('a','e','i','o','u');
📌 Discussion
❓ Question

❗ Answer
SELECT DISTINCT city
FROM station
WHERE NOT (LEFT(city,1) IN ('A','E','I','O','U') AND RIGHT(city,1) IN ('A','E','I','O','U'));
📌 Discussion
❓ Question

❗ Answer
SELECT DISTINCT city
FROM station
WHERE NOT (LEFT(city,1) IN ('A','E','I','O','U') OR RIGHT(city,1) IN ('A','E','I','O','U'));
📌 Discussion
❓ Question

❗ Answer
SELECT name
FROM students
WHERE marks > 75
ORDER BY RIGHT(name,3), id;
📌 Discussion
❓ Question

❗ Answer
SELECT name
FROM employee
ORDER BY name;
📌 Discussion
❓ Question

❗ Answer
SELECT name
FROM employee
WHERE salary > 2000 AND months < 10
ORDER BY employee_id;
📌 Discussion