Fortune Telling Collection - Fortune-telling birth date - There are several operators in mysql.
There are several operators in mysql.
arithmetic operator
comparison operator
Logical operator
positional operator
arithmetic operator
Arithmetic operator is the most basic operation operator in SQL, which mainly includes the following operators:
+(addition),-(subtraction), * (multiplication),/(division),% (remainder or modulus)
comparison operator
The result of the comparison operator is always 1, 0 or NULL. Comparison operators in MySQL are:
= 、& lt= & gt、& lt& gt(! =),<=,>=,>, empty, not empty, minimum, maximum and in between. . . And ... . . 、ISNULL、IN、NOT IN、LIKE、REGEXP
Logical operator
The evaluation results of logical operators are all true, false or empty.
Logical operators are:
Not or!
AND or&; & amp
Or or ||
XOR (exclusive OR)
Position operator
Bit operators are used to test, shift or check bits in binary bytes. Bit operators are:
Bit OR (|)
Bit and (&; )
Bitwise XOR ()
Move to the left (
Shift to the right (
Bit inversion (~)
- Previous article:What do you mean by "five ghosts"?
- Next article:Jia Zhu Zhuang you Ji composition daquan
- Related articles
- Which fortune-telling software is good _ which fortune-telling software works well?
- What is the movie about the Year of the Tiger?
- Novel continuous fortune telling _ novel continuous fortune telling free reading
- Dreaming that the index finger was cut off
- What is the omen of dreaming that someone gave me a computer? What do you mean?
- An important village in Dongzhuang Town
- What kind of people are suitable for learning the Book of Changes?
- Qinglong fortune teller _ Qinglong fortune teller
- Shandong fortune-telling expenses _ Shandong fortune-telling
- Fortune teller says there are no brothers and sisters _ Is it true that fortune teller says there are no brothers and sisters?