SQL Queries - Examples - 2 - Practice
SQL Queries - Examples - 2 - Practice
SQL Queries - Examples - 2 - Practice
SQL WORLD
PA R S E, BIND, OPTIMIZ E , E X E C U T E
Answer:
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 1/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
Answer :
Answer:
Answer:
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 2/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
Answer:
Answer:
HOME
SQL QUERIES ORACLE ORACLE BI UNIX POSTGRESQL INTERVIEW Q/A
Answer:
union
Answer :
Answer:
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 4/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
Answer:
Answer:
Answer:
Answer:
SPONSORED SEARCHES
SQL Practice
Answer:
HOME SQL QUERIES ORACLE ORACLE BI UNIX POSTGRESQL INTERVIEW Q/A
Answer:
minus
Answer:
Answer:
Intersect
Answer:
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 6/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
Select
HOME * from Employee
SQL QUERIESwhere Dept_noORACLE
ORACLE Not in(Select
BI UNIX POSTGRESQL INTERVIEW Q/A
Department_no from Department);
Answer:
Answer:
Answer:
O/p:
O
R
A
C
L
E
i.e, splitting into multiple columns a string using sql.
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 7/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
Answer:
HOME SQL QUERIES ORACLE ORACLE BI UNIX POSTGRESQL INTERVIEW Q/A
Answer:
Oracle:
MS SQL:
Answer:
Answer:
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 8/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
Answer:
HOME SQL QUERIES ORACLE ORACLE BI UNIX POSTGRESQL INTERVIEW Q/A
**
***
Answer:
Answer :
SELECT
Email
FROM
Employee
where NOT REGEXP_LIKE(Email, ‘[A-Z0-9._%+-]+@[A-
Z0-9.-]+\.[A-Z]{2,4}’, ‘i’);
Answer:
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 9/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
Answer:
Answer:
Group by rollno
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 10/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
HOME
Select SQL QUERIES
FIRST_NAME, ORACLE ORACLE BI
to_char(joining_date,’YYYY’) UNIX POSTGRESQL INTERVIEW Q/A
JoinYear , to_char(joining_date,’Mon’),
to_char(joining_date,’dd’) from EMPLOYEES;
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 11/12
3/29/2020 Complex SQL Queries | Complex SQL Queries Examples
https://www.complexsql.com/complex-sql-queries-examples-with-answers/ 12/12