Questions tagged as 'select'

2
answers

Display Value of BD in SELECT in PHP

Good morning, in the code that I show next I want to show the value of a field saved in a BD Mysql in a SELECT list in php Code: <form name="fe" action="" method="post"> <table border="2"> <tbody><tr...
asked by 01.11.2017 / 15:25
1
answer

Can I use the return of a stored procedure as part of the where clause?

The idea is that the stored procedure returns a set of identifiers. Ex. pra_id: 303 404 Currently this is what I am trying to do, and it is to use the return of the pra_id as filters: SELECT rea.rea_id, rea.pra_id, etr.etr_id, etr.etr...
asked by 13.10.2017 / 00:02
1
answer

Hibernate does not consult the last record in the database

A batch is trying to consult a record of the database to later update it, but simultaneously the user modifies that same record and manages to commit, since the batch was already executing query and obtains the old record (cache first level) and...
asked by 05.10.2017 / 17:06
2
answers

Do not add onchange attribute to select tag

Good day I have two select tags with options created at runtime, the select ones are displayed correctly with their options, I add them with jquery the onchange event so that when a different option is selected, perform a function, $("#combo1"...
asked by 22.09.2017 / 17:59
2
answers

Insert 2 primary key of 2 tables in a third one that goes to relational

I have 2 tables. Company Table and Table Categories Both tables would not be related initially, but then we need to create a third table. Table category x company. The query must dump all companies and all categories to the third tab...
asked by 21.09.2017 / 18:59
2
answers

Process VARIOUS selections of ComboBOX in PHP

Dear, it is my first post in this community (and the only one) because I really have more than 3 weeks looking for a solution and I feel it is more complicated than I thought. I will be very explanatory. First with what I have and what I want to...
asked by 08.09.2017 / 18:06
1
answer

jQuery selector: elements that contain elements whose value is not null

I get the following HTML element through the function "jQuery ('fieldset.ame-fieldset')" <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <fieldset class="webform-component-fieldset...
asked by 16.11.2017 / 12:47
1
answer

oracle - select script with detail of all the tables

I am developing a query to 3 tables which contains the fields name and code and I would like to make a selection of these by bringing the data as follows: Table1Code Table1Codigo.Table2Codigo Table1Codigo.Tabla2Codigo.Tabla3Codigo Tabl...
asked by 24.08.2017 / 06:04
2
answers

SELECT Dynamic and option selected by default

I am completely new and without any experience, I indicate: As shown in the image I already made the SQL query so that the countries from the database are loaded to the SELECT of my page, now I want to leave selected by default a Country (for ex...
asked by 18.06.2017 / 01:12
2
answers

mysql show records per hour

Greetings I need to group records per hour in a range (from 7 to 16) in mysql but I also need to show the hours where there is no record if there was at 7, 8, 9 but at 10 there are no records I need to leave the time and maybe a zero if there ar...
asked by 17.06.2017 / 02:23