Skip to content

How to make a button to jump into specified table row

I have code that generate a table from my database. The code is Now that code will give me a big table. Is there any way to make some link or button to make me jump onto a specific row in a table ? Because scrolling through the big table really not efficient Answer well, i found a simple solution

Summing condition excludes rows without positive sum

I’m having a weird issue where in returning the sum of rows where a condition is true seems to only return rows if that condition is true – or at least, it is excluding a large majority of the rows that would otherwise be returned. Original query – which returns all rows: For each row that w…

Different conditions When Sum in same query

I have 6 querys that do the same but have differents conditions in WHERE statements. Is it possible to get all the criterias for each query and get 6 differents results? I think that I can use UNION ALL but the queries are so big. Below are the queries: query 1(Dv1) query 2(Dv2) query 3(Dv3) . . . query 6(Dv6…

How I can convert date to char and then ti number?

Please help to sole this task. I need convert date to char and then to number, so that i can perform arithmetic operation and divide the date by 2. This query doesn’t work and i have no idea how i can convert date to number. Answer Based on the understanding of the question I think you need the current …

Is it possible to create one index for both primary and foreign key?

Let’s suppose we have two tables A and B and between them one-to-one relation. B.ID key will be used as foreign key in tables about which A doesn’t know. When row is deleted from A there also will be deletion from other tables that are linked to B. As we see in B one column is at the same time