Showing posts with the label
select
Issue My data is like this | id. | date. | datetime. | |:---- |:------:| -----:| | 123 | 2022-01…
Issue As a follow up to my earlier question : Some
Issue I am trying to write prepared statement for user input. parameter numbers are variable depend…
Issue I have two selects: SELECT id FROM a -- returns 1,4,2,3 UNION SELECT id FROM b -- returns 2…
Issue I'm working through an SQL injection tutorial. I don't understand one aspect of an SQ…
Issue I have a table containing hundreds of columns many of which are null, and I would like have m…
Issue I am trying to build a report in Oracle and I am struggling to group the data by two columns …
Issue I have a database I want to get data from. In order to get the not yet edited files, I want t…
Issue I want to combine the following tables with the logic given below using sql select statement:…
Issue Let me explain a little bit more in detail... I have a mysql table like this: | session_id …
Issue I have this SQL query: SELECT MAX(a.date), d.group, c.name, b.name_id FROM table1 a LEFT JO…
Issue I have a problem with a query I wrote today. This is my query: SELECT DISTINCT …
Issue I am using the following line within a Select which returns a number with decimals, e.g. 33.…
Issue I'm writing an SQL Query, where a few of the columns returned need to be calculated depen…
Issue I need to get the result of subtract values from these 3 different tables in SQL Server. Thi…
Issue I need to select the first DateTime , Value , and ID for every 5 minutes. The frequency of t…