9.test
来自「嵌入式Linux应用开发详解的所有相应源码」· TEST 代码 · 共 23 行
TEST
23 行
# Function handlingselect first_name, length(first_name) 'Name Length' from staff \p\gselect first_name, upper(first_name) from staff \p\gselect first_name, lower(first_name) from staff \p\gselect first_name, chop(first_name) 'Chopped Name' from staff \p\gselect first_name, replace(first_name, 'avi', 'iva') from staff \p\gselect first_name, substr(first_name, 2, 2) from staff \p\gselect first_name, translate(first_name, 'A-D', 'a-d') from staff \p\gselect first_name, soundex(first_name) 'Soundex Value' from staff \p\gselect first_name, abs(10) 'Absolute Value' from staff \p\gselect first_name, abs(-7) 'Absolute Value' from staff \p\gselect first_name, staff_id, abs(staff_id) 'Absolute StaffID' from staff \p\gselect first_name, height, ceil(height) from staff \p\gselect first_name, height, floor(height) from staff \p\gselect first_name, staff_id, mod(staff_id, 3) from staff \p\gselect first_name, staff_id, sign(staff_id) from staff \p\gselect first_name, staff_id, power(staff_id, 2) from staff \p\gselect first_name, last_name, staff_id into tmp_staff from staff \p\gselect * from tmp_staff\p\g
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?