Giter Club home page Giter Club logo

test's Introduction

About test

1.1. Empleados de la empresa B.

SELECT employees.id as 'id employee', concat(employees.first_name,' ',employees.last_name) AS 'full_name', companies.name as 'name company' FROM contracts JOIN employees ON employees.id=contracts.employee_id JOIN companies ON companies.id=contracts.company_id WHERE companies.name='Empresa B' GROUP BY employees.id;

terminal output

1.2. Empleados que tengan antigüedad mayor o igual a 2 años y a que empresa pertenecen.

SELECT employees.id, concat(employees.first_name,' ',employees.last_name) AS 'full_name', companies.name FROM contracts JOIN employees ON employees.id=contracts.employee_id JOIN companies ON companies.id=contracts.company_id WHERE contracts.begin <= DATE_SUB(NOW(),INTERVAL 2 YEAR);

terminal output

1.3. Departamentos de todas las empresas pero que no se repitan.

SELECT departments.name FROM departments GROUP BY departments.name;

terminal output

2.1. Leer una cadena de texto en un formulario y generar un array con la función split(). Posteriormente, mostrar la siguiente información: Número de palabras, primera palabra, última palabra, las palabras colocadas en orden inverso, las palabras ordenadas de la a la z y las palabras ordenadas de la z a la a. Sacar toda esta información en una ventana nueva.

terminal output

terminal output

terminal output

3.1. Formulario de registro

terminal output

terminal output

Demo

Demo en linea

License

The Laravel framework is open-sourced software licensed under the MIT license.

test's People

Contributors

nestort avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.