1. What will be the output of the following PHP code ?
($y != $y++)){ echo $y;}?>
2. What will be the output of the following PHP code ?
Correct Answer is : No table mentioned
3. What will be the output of the following PHP code ?
";}?>
Correct Answer is : Show all columns but only those rows which belongs to person_id=1
4. What will be the output of the following PHP code ?
Correct Answer is : Show only columns(person_id, fname, lname) but only those rows which belongs to person_id=1
5. What will be the output of the following PHP code ?
6. What will be the output of the following PHP code ?
0){ $i++; print $i; print "hello";}?>
Correct Answer is : All of the mentioned
7. What will be the output of the following PHP code ?
0 && ++$i){ print $i;}?>
8. What will be the output of the following PHP code ?
0 || ++$i){ print $i;}?>
9. What will be the output of the following PHP code ?
Correct Answer is : All of the mentioned
10. What will be the output of the following PHP code ?
Correct Answer is : emp_id, Status, emp_pi, last_name
11. What will be the output of the following PHP code ?
++$i) - 1){ print $i;}?>
Correct Answer is : emp_id, Status, emp_pi, last_name
12. What will be the output of the following PHP code ?
0) print $i;}?>
Correct Answer is : DISTINCTS
13. What will be the output of the following PHP code ?
0) print $i;}?>
Correct Answer is : {1, 2, 3, 5, 6, 7, 8}
14. What will be the output of the following PHP code ?
Correct Answer is : {1,2,3,5,6,7,8}
15. What will be the output of the following PHP code ?
Correct Answer is : Both AS and ALL
16. What will be the output of the following PHP code ?
Correct Answer is : Filtering out unwanted rows from result set
17. What will be the output of the following PHP code ?
Correct Answer is : All columns but only those rows which contain ‘HEAD TELLER’ as a “title”
18. What will be the output of the following PHP code ?
Correct Answer is : All columns but only those rows which contain ‘HEAD TELLER’ as a “title” and 2013-01-24 as a “start_date”
19. What will be the output of the following PHP code ?
Correct Answer is : All columns but only those rows which contain ‘HEAD TELLER’ as a “title” or 2013-01-24 as a “start_date”
20. What will be the output of the following PHP code ?
Correct Answer is : All columns but only those rows which contain ‘HEAD TELLER’ as a “title” and start_date are greater than 2013-01-24