Questions tagged as 'select'

3
answers

Query with inner join and LIKE operator

I have the following tables with their respective data Table1 +----------+------------+ | IdTabla1 | Velocidad1 | +----------+------------+ | 1 | 123.51 | | 2 | 123.55 | | 3 | 125.23 | | 4 | 125.87...
asked by 11.08.2018 / 10:05
1
answer

Query without repeated data SQL Server

You will see I need to send to ask for an amount n of questions, where that amount is given by a parameter. The query is already functional and sends them to the parameter randomly. What happens now is that it shows questions that are repea...
asked by 03.10.2018 / 23:06
2
answers

How to get the name of an element [1], element [2] with jquery

I have selectors who have a name: <select name="selector[]" id="selector"> <option value="1">Valor 1</option> <option value="2">Valor 2</option> </select> <select name="selector[]" id="selector">...
asked by 19.03.2018 / 21:07
1
answer

Myslqi query of two tables with sum of records

Good to have if I can explain everything; I have two tables in the BD: productos +----+----------+--------+ | id | producto | estado | +----+----------+--------+ | | | | | | | | +----+----------+...
asked by 20.08.2018 / 09:08
1
answer

What do I do so that in a stored procedure I can save in two variables with INTO in front of a query that returns one or several columns?

I explain: It turns out that I have a procedure that establishes two integer parameters, which are then arranged to store each the result of a single value that comes from different columns one for each, the select that I have is some...
asked by 17.08.2018 / 21:11
1
answer

Get id of a laravel combo

I'm working with LARAVEL I have a foreach that uploads stuff to me from my database in a view. I need to select a subject to send your id to another view ... What he does now is that when selecting different subjects, he loads the same id, an...
asked by 07.11.2017 / 07:07
1
answer

Join results in SQL Server

I would like to know how I can do to join the results of several selects in the same temporary table if possible, or if there is another way to do it. This is the code that I have at the moment: Declare @mod as int; Declare modelos c...
asked by 26.12.2017 / 21:40
0
answers

Validate select in registration form

I'm doing a fill-in-registration form where everything was fine except for the select, the code is as follows: Database: CREATE TABLE usuarios( id INT NOT NULL UNIQUE AUTO_INCREMENT, tipo_de_usuario VARCHAR(100) NOT NULL, nombre VARCHAR(2...
asked by 20.07.2018 / 00:07
3
answers

Do not add selected item from a list box

There are two list boxes, one with templates to choose from and another with templates to invoice. With a button it is about adding to the second list box the selected option of the first one, but it does not do anything. <br><br>...
asked by 10.10.2018 / 07:45
3
answers

Get the selected select value - Javascript - DOM

I want to get the value (.value) or text (.text) of the chosen option from a drop-down list of a select in a form. How do I access the text of the selected selection? HTML code of the select element: <select name="provincia" id="pro...
asked by 22.05.2017 / 21:23