Category: Program

shape
shape
shape
shape
shape
shape
shape
shape
Standard

Difference between INNER JOIN, LEFT JOIN, RIGHT JOIN and FULL OUTER JOIN

The SQL language allows tables to be joined, but sometimes these commands are forgotten and/or we get confused about the real purpose of each one. Let’s take a look at the image below, representing the various forms of JOINS: INNER JOIN Intersection between tables. Example: SELECT <colunas> FROM Table_A A INNER JOIN Table_B B ON

Standard

Method overloading in Java

In Java you can declare methods with the same name in a class, but each method must contain different sets of parameters. In other words, this is called Method Overloading. public class Calculadora{ public int soma(int valor1, int valor2){ return valor1 + valor2; } public float soma(float valor1, float valor2){ return valor1 + valor2; }

Standard

Add Column to Existing MySQL Table

To add the“age” column of type “int (11)” to the“student” table, simply use the following SQL query: ALTER TABLE aluno ADD idade int(11) the above query will add the column“age” last column, if you want to define the position of the column use the following SQL query: ALTER TABLE aluno ADD idade int(11) AFTER nome

Latest news

Latest news directly from our blog.