Tags

, , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,


Please go through the below objective type queries and provide output..


--

--Query 1
SELECT (SELECT '1')

--Query 2
SELECT SELECT '1'

--Query 3
SELECT * FROM 'Emp' --Assume that Emp is the table present in the DB

--Query 4
SELECT * FROM amit1 , amit2

--Query 5
SELECT COUNT(1) + COUNT(1)

--Query 6
SELECT '12' FROM amit1

--Query 7
SELECT SUM(2+2*9)

--Query 8
SELECT MAX(2+2*9)

--Query 9
SELECT SUM(1,3,4)

--Query 10
SELECT MAX('Pawan')

--Query 11
Select Count(SELECT age FROM amit1)

--
Advertisements