Casiva Agustin

Engineering, Development and IT Management

Hi there! 馃憢

I’m Agustin Casiva, I’m a Software Engineer from Argentina.

I have been working on IT for many years now, I worked in many fields of the industry, such as hardware support, networking, sysadmin but what I do love most is development.

I have worked for many organizations, public and private, local and remote, filling many roles.

My expertise is on Web Development, Linux, Open Source, CMSs, HTML, CSS, PHP, JavaScript, Backend Development, Product Development, Project Management, Team Leading, among others.

In 2013 I have founded 42mate, a Web Development Agency focused on the design, development, maintenance of Web Apps. I still work on 42mate where I work leading development teams and scoping new projects.

Besides 42mate I also work as an independent consultant where I provide services such as

  • Development Training, for individuals or teams.
  • Architecture Design and Review.
  • Tech Advisor for non tech startup founders.
  • Tech Advisor for Digital Design Agencies.

If you are interested on my services let’s talk!

More about me

Manejando el Nulo para Funciones de Agregaci贸n

Supongan que tenemos una consulta SQL como la siguiente

SELECT SUM(puntos_compra) as puntos
FROM compras_usuarios
WHERE usuario_id = 1

Cuando el usuario no haya realizado compras el resultado de la consulta devuelve el valor NULL. Lo l贸gico ser铆a que en caso de que no existan compras el usuario no tenga puntos y devuelva 0.

En caso de que trabajemos con MySQL podemos solucionar este detalle en capa SQL mediante la funci贸n IsNull de la siguiente manera.

SELECT IFNULL(SUM(puntos_compra),0) as puntos
FROM compras_usuarios
WHERE usuario_id = 1

Leave a Reply

Your email address will not be published. Required fields are marked *

*