38,488 questions
Advice
0
votes
2
replies
66
views
Using <input type=datetime-local> with <step> attribute to get intervals of 15 minutes
I am working on a prototype of a photography website HTML and I in the Booking page of my website I want to use a date and time selector. But with the step attribute the browser shows all options ...
Advice
0
votes
3
replies
89
views
postEfficient mapping between index and permutation for very large n
I am exploring methods to compute a specific permutation from its index (ranking/unranking) without generating all permutations.
My focus is on very large values of n (e.g., up to 1000), where full ...
0
votes
0
answers
59
views
Selecting a single value from a datatable populated by SQL
I am new to Power Automate as of this week. My current attempt, is to have an automation that checks a SQL table on a scheduled basis. The results of the SQL query will include an email address, and a ...
1
vote
1
answer
100
views
Is there an equivalent to SELECT t1.* when there is a USING() clause?
Consider that there are 2 tables -- t1 and t2.
I want to write a query where I do t1 left join t2, and display all the columns of t1 if some attribute of t2 is true.
Out of convenience, I used a USING(...
-1
votes
2
answers
122
views
Select Case malfunction with V W X Y and Z? [closed]
I'm using select case to select only numbers and letters (no symbols). It is not working just for a few letters.
This code works with every number and letter except the last five of the alphabet, ...
2
votes
1
answer
103
views
Query to show records with 3 date criterias
I need to pull 3 records at a time from a table to display on a form where people can sign up to one or any of the three matches displayed on the form
I have the mysql table set up with dates and ...
2
votes
2
answers
121
views
SQLite query to find a result using two tables which needs a match in two rows of one table
I have an SQLite database - and to simplify, it has two tables:-
recipe and ingredients.
The recipe database is comprised of
recipeId (autoincrement, primary index)
title
and the ingredients:-
id (...
0
votes
0
answers
196
views
How to Customize the Dropdown Icon in JetSmartFilters
I am trying to customize some of the JetSmartFilters: the search filter and checkboxes filter (with the dropdown enabled), but I cannot find any option to customize the dropdown icon element (the ...
1
vote
2
answers
93
views
SELECT statement on Join example
I'm working through an inner join example on Geeks For Geeks I came across a SELECT statement I don't understand.
We have two tables, Student and StudentCourse we are joining on a common column ...
0
votes
1
answer
54
views
JQuery show "default" select value on change of first select from mysql values
I've three selects
The first shows product name. The list is generated by a mysqli_query
<select id="product">
<option value="abc">ABC</option>
<option ...
1
vote
3
answers
136
views
Counting number of rows up to a specified value by type and id
I have a dataset with id, test_date, test_type, test_result - like this:
ID
Test_Date
Test_Type
Test_Result
1
2024-03-21
A
Fail
1
2024-04-21
A
Fail
1
2024-04-30
A
Pass
1
2025-05-15
B
Fail
1
2025-05-31
...
0
votes
0
answers
89
views
Filament Forms Select createOption relations
I get an error if my createOptionForm (in a Filament Form Select) has a Select with a 'relationship' definition instead of an options definition.
I get the same issue using a Fieldset (in the ...
-6
votes
2
answers
133
views
Reverse order of split string parts [closed]
My simple Oracle SQL select statement:
select id, my_column
from my_table;
returns the following output with over 1.000.000 rows in the result set:
| id | my_column |
| 1 | abc.mno.xyz |
| 2 | ...
3
votes
3
answers
127
views
Check dates within same table
This is my table from SQL and the output that should be. What I need is to merge both dates and their entries.
I tried both queries, IN and OUT, but unable to merge.
IN:
SELECT
MAX(one.TOTAL_IN) ...
0
votes
1
answer
104
views
PostgreSQL Force Index Scan
I have a table with below columns in PostgreSQL.
id,
location,
store,
flag1,
flag2
Here id, location, store are contributing to Primary Key. So by default postgreSQL creates an index on it.
I have ...