Skip to content

Commit 06294da

Browse files
committed
complete basic select
1 parent 678fb6b commit 06294da

7 files changed

+7
-0
lines changed

Basic Select/Employee Names.sql

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT NAME FROM EMPLOYEE ORDER BY NAME;

Basic Select/Employee Salaries.sql

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT NAME FROM EMPLOYEE WHERE SALARY > 2000 AND MONTHS < 10;

Basic Select/Higher Than 75 Marks.sql

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT NAME FROM STUDENTS WHERE MARKS > 75 ORDER BY RIGHT(NAME,3),ID;
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP "[^AEIOU]$"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^AEIOU]|[^AEIOU]$';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP '^[^AEIOU].+[^AEIOU]$';
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SELECT DISTINCT CITY FROM STATION WHERE CITY REGEXP "^[^AEIOU]";

0 commit comments

Comments
 (0)