GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Ohne Titel

dgmagno Bancos de Dados Concurso Público Portugiesisch 51 Karten

Karten in diesem Stapel (51)

  1. 1Logical ANDAND, &&
  2. 2Assign a value (as part of a SET statement, or as part of the SET clause in an UPDATE statement)=
    mysql> SELECT 1 = 1, NULL = NULL, 1 = NULL;
    -> 1, NULL, NULL
  3. 3Assign a value:=
  4. 4Check whether a value is within a range of valuesBETWEEN ... AND ...
  5. 5Cast a string to a binary stringBINARY
  6. 6Bitwise AND&
  7. 7Bitwise inversion~
  8. 8Bitwise OR|
  9. 9Bitwise XOR^
  10. 10Case operatorCASE
  11. 11Integer divisionDIV
  12. 12Division operator/
  13. 13Equal operator=
  14. 14NULL-safe equal to operator<=>
    mysql> SELECT 1 <=> 1, NULL <=> NULL, 1 <=> NULL;
    -> 1, 1, 0
  15. 15Greater than operator>
  16. 16Greater than or equal operator>=
  17. 17Test a value against a booleanIS
    mysql> SELECT 1 IS TRUE, 0 IS FALSE, NULL IS UNKNOWN;
    -> 1, 1, 1
  18. 18Test a value against a booleanIS NOT
  19. 19NOT NULL value testIS NOT NULL
  20. 20NULL value testIS NULL
  21. 21Return value from JSON column after evaluating path->
  22. 22Left shift<<
  23. 23Less than operator<
  24. 24Less than or equal operator<=
  25. 25Simple pattern matchingLIKE
  26. 26Minus operator-
  27. 27Modulo operator%, MOD
  28. 28Negates valueNOT, !
  29. 29Check whether a value is not within a range of valuesNOT BETWEEN ... AND ...
  30. 30Not equal operator!=, <>
  31. 31Negation of simple pattern matchingNOT LIKE
  32. 32Negation of REGEXPNOT REGEXP
  33. 33Logical OR||, OR
  34. 34Addition operator+
  35. 35Pattern matching using regular expressionsREGEXP
  36. 36Right shift>>
  37. 37Synonym for REGEXPRLIKE
  38. 38Compare soundsSOUNDS LIKE
  39. 39Multiplication operator*
  40. 40Change the sign of the argument-
  41. 41Logical XORXOR
  42. 42Return the first non-NULL argument or NULL if not foundCOALESCE(value,...)
    mysql> SELECT COALESCE(NULL,1);
    -> 1
  43. 43With two or more arguments, returns the largest (maximum-valued) argument.GREATEST(value1,value2,...)
    mysql> SELECT GREATEST('B','A','C');
    -> 'C'
  44. 44Operator to check whether a value is within a set of valuesexpr IN (value,...)
  45. 45Return the index of the argument that is less than the first argumentINTERVAL(N,N1,N2,N3,...)
    mysql> SELECT INTERVAL(10, 1, 10, 100, 1000);
    -> 2
    Returns 0 if N < N1, 1 if N < N2, etc, -1 if N is NULL
  46. 46Return the smallest argumentLEAST(value1,value2,...)
  47. 47Case operatorCASE
    SELECT CASE WHEN 1>0 THEN 'true' ELSE 'false' END;
  48. 48If/else constructIF(expr1,expr2,expr3)
    mysql> SELECT IF(1>2,2,3);
    -> 3
  49. 49Null if/else constructIFNULL(expr1,expr2)
  50. 50Return NULL if expr1 = expr2NULLIF(expr1,expr2)
  51. 51—

Informationen

Beschreibung
Concurso Público Bancos de Dados Karteikarten am Ohne Titel, erstellt von dgmagno am 17/02/2016.
Erstellt von
dgmagno
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck