Hiring Companies

Image
66% OFF OFFER Dell Ms116 275-BBCB Optical  w ired Mouse at just 219/-              Data science consulting companies are a hot choice if you’re looking for a job in the field. They offer numerous development opportunities, access to the latest technologies, and provide data-based solutions for top-notch companies across the globe. Furthermore, on top of generous salaries, they seem to have tons of cool perks – from unlimited vacation days and free meals to hair salons and masseuses on site. This doesn’t make your choice any simpler, though. With so many industries and companies out there, it’s hard to keep track of who-offers-what-and-where. So, watch this video to find out which companies provide the best overall employee experience in 2020! Freshers for Data Science Roles:   Mu Sigma, Fractal Analytics, Exponentia, Clover Infotech,...

Sql-Advanced Functions

  1. BIN(): It converts a decimal number to a binary number.
    Syntax:
    SELECT BIN(18);
    
    Output:
  2. BINARY(): It converts a value to a binary string
    Syntax:
  3. SELECT BINARY "GeeksforGeeks";
    Output:
  4. COALESCE(): It returns the first non-null expression in a list.
    Syntax:
    SELECT COALESCE(NULL,NULL,'GeeksforGeeks',NULL,'Geeks');
    
    Output:
  5. CONNECTION_ID(): It returns the unique connection ID for the current connection.
    Syntax:
    SELECT CONNECTION_ID();
    
    Output:
  6. CURRENT_USER(): It returns the user name and host name for the MySQL account used by the server to authenticate the current client.
    Syntax:
    SELECT CURRENT_USER();
    
    Output:
  7. DATABASE(): It returns the name of the default database.
    Syntax:
    SELECT DATABASE();
    
    Output:
  8. IF(): It returns one value if a condition is TRUE, or another value if a condition is FALSE.
    Syntax:
    SELECT IF(200<500, "YES", "NO");
    
    Output:
  9. LAST_INSERT_ID(): It returns the first AUTO_INCREMENT value that was set by the most recent INSERT or UPDATE statement.
    Syntax:
    SELECT LAST_INSERT_ID();
    
    Output:
    • NULLIF(): It returns the first expression if the two expressions are not equal. If the expressions are equal, NULLIF returns a null value of the type of the first expression.
    • Syntax:
      SELECT NULLIF(25.11, 25);
      
      Output:
    • Syntax:
      SELECT NULLIF(115, 115);
      
      Output:
  10. SESSION_USER(): It returns the user name and host name for the current MySQL user.
    Syntax:
    SELECT SESSION_USER();
    Output:
  11. SYSTEM_USER(): It returns the user name and host name for the current MySQL user.
    Syntax:
    SELECT SYSTEM_USER();
    
    Output:
  12. USER(): It returns the user name and host name for the current MySQL user.
    Syntax:
    SELECT USER();
    
    Output:
  13. VERSION(): It returns the version of the MySQL database.
    Syntax:
    SELECT VERSION();
    
    Output:

Comments

Popular posts from this blog

Hiring Companies

Sql Basics