Check out example codes for "sql empty select". It will help you in understanding the concepts better.

Code Example 1

-- NOTE: this is for SQL-Oracle specifically

-- syntax:
SELECT <testing_result> 
FROM DUAL;

-- example:
SELECT 1+2, 2+3, 3+4 
FROM DUAL;

-- OUTPUT: 3,5,7

Learn ReactJs, React Native from akashmittal.com