Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Aula507@HOR-501-7 c:\xampp
# mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.1.25-MariaDB mariadb.org binary distribution
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [camilo2.0]> select concat (PRIMER_NOMBRE , ' ' , SEGUNDO_NOMBRE , ' ' ,
PRIMER_APELLIDO, ' ' , SEGUNDO_APELLIDO) as NOMBRE from personas;
+----------------------------------+
| NOMBRE |
+----------------------------------+
| Nicol Marcela Perez Roja |
| Heider Camilo Rojas Pinilla |
| NULL |
| Julian Alejandro Rojas Sierra |
| Julio Armando Reina Rodriguez |
| Andres Felipe Rojas Romero |
+----------------------------------+
6 rows in set (0.00 sec)
MariaDB [camilo2.0]> select concat (PRIMER_NOMBRE , ' ' , SEGUNDO_NOMBRE , ' ' ,
PRIMER_APELLIDO, ' ' , SEGUNDO_APELLIDO) as NOMBRE from personas;
+--------------------------------+
| NOMBRE |
+--------------------------------+
| Nicol Marcela Perez Roja |
| Heider Camilo Rojas Pinilla |
| NULL |
| Julian Alejandro Rojas Sierra |
| Julio Armando Reina Rodriguez |
| Andres Felipe Rojas Romero |
+--------------------------------+
6 rows in set (0.00 sec)
MariaDB [camilo2.0]> select concat (PRIMER_NOMBRE , ' ' , SEGUNDO_NOMBRE , ' ' ,
PRIMER_APELLIDO, ' ' , SEGUNDO_APELLIDO) as NOMBRE from personas;
+-------------------------------+
| NOMBRE |
+-------------------------------+
| Nicol Marcela Perez Roja |
| Heider Camilo Rojas Pinilla |
| NULL |
| Julian Alejandro Rojas Sierra |
| Julio Armando Reina Rodriguez |
| Andres Felipe Rojas Romero |
+-------------------------------+
6 rows in set (0.00 sec)