1 - // How To Connect Mysql Server To Command Prompt
1 - // How To Connect Mysql Server To Command Prompt
prompt *//
5--Execute following
(I) NUMBER FUNCTION
(II) AGGREGATE FUNCTIONS
(III) character functions
# Function Description
I INITCAP(data) Converts the first letter of string data to uppercase
II LENGTH(data) Returns the length of string data
III SUBSTR(data, x, y) Extract y characters starting from x
IV INSTR(data, x) Returns location of x in string data
V INSTR(data, x, s, n) Returns location of the nth occurrence of string x in
string data starting from s
VI GREATEST(expr1, …, exprn) Returns the greatest value from the given set
of values
VII LEAST(expr1, …, exprn) Returns the least value from the given set of
values
>>using IN function.
>>using LIKE operator.
(a) PERCENTAGE(%)
(b)UNDERSCORE(_)
• Union of All