What are logical errors? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
24th Aug 2016, 7:03 PM
Prateek panda
Prateek panda - avatar
4 Answers
+ 3
logical errors means your code syntax is OK but your logic is wrong suppose you are said to get all student whose age smaller than 15 you write SQL query like select student_name from student_tbl where student_age > 15 this is logical error because you are asked to get all student smaller than 15, but u used greater than.
25th Aug 2016, 2:23 PM
Raton Kumar
Raton Kumar - avatar
+ 2
in addition, logical errors could be run time errors such as: -- division by zero exception -- database server not avilable or the server is down -- dead lock -- wrong data type -- violation of field constraints -- etc
25th Aug 2016, 6:25 PM
Tiger
Tiger - avatar
+ 2
Thanx both of you
26th Aug 2016, 12:32 AM
Prateek panda
Prateek panda - avatar
0
The errors caused by logical operator's majority
3rd Oct 2016, 10:37 AM
Pavankumar V
Pavankumar V - avatar