Based on the code given below, what will be the value of, $num, if mytable contains 20 records out of which 10 have myprice=19, 5 have myprice=20 and 5 have myprice=2, before running the mysql_query?
$resultSet=mysql_query("UPDATE mytable set myprice = 20 where myprice < 20");
$num=mysql_affected_rows();
Correct Answer: 10
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More LAMP MCQ Questions