第六章<过滤数据> P35 1. select prod_name,prod_price from products where prod_price=2.5; 2.select prod_name,prod_price from products where prod_price='2.5'; #两个语句得到的结果一样,因为指定的是数值. P36 select prod_name,prod_price from products where prod_name='fuses'; #当指定的是…
C++入门第六章:分支语句和逻辑运算符 if语句 语法: if (test-condition) statement if else语句 if (test-condition) statement1 else statement2 if else if else语句 if (test-condition1) statement1 else if (test-condition2) statement2 else statement3 2 逻辑表达式 逻辑OR运算符:|| 当两个条件中有一个或全部…
37 print "\n----------------------------------_exercise_6_1--------------------------\n"; 38 my %bless_function = ( #hash may be a lexical variable 39 "constructors" => "default_values", 40 "error_ha…