1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

[SQL] How to declare a variable in MySQL?

Discussão em 'Outras Linguagens' iniciado por Stack, Outubro 1, 2024 às 07:52.

  1. Stack

    Stack Membro Participativo

    How to declare a variable in mysql, so that my second query can use it?

    I would like to write something like:

    SET start = 1;
    SET finish = 10;

    SELECT * FROM places WHERE place BETWEEN start AND finish;

    Continue reading...

Compartilhe esta Página