| Sql Interview Latest Query questions asked on 30 dec 2020
Interviewer has asked below five query and ask for there output from the candidate
(1)Find the output of below query
select count(*)
(2)Find the output of below query
select Null+10
(3)Find the output of below query
if(null=null)
print 'True'
else
print 'False'
(4)Find the output of below query
Select case when 1=1 then 'crackyourinterview'
when 2=2 then 'dotnet'
else 'javaquestions' end as TestResult
(5)Find the output of below query
Answer of above query
(1)1
(2)null
(3)False
(4)crackyourinterview
(5)? | | |