Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of 0
0 answers
65 views

I am implementing a pivot table visualization for a BI application and am looking for the correct architectural approach to support rollups for non-additive measures. The backend returns one ...
Score of 0
1 answer
104 views

I want to create a query that shows the amount of an item kept at a specific location, but also the total combined amount of every location that has that item. For example; if location 1 has 400 of a ...
Score of 0
2 answers
157 views

Given the following schema: Column Type Collation Nullable Default id bigint not null generated by default as identity timestamp integer not null open double precision not null high double ...
Score of 0
0 answers
158 views

Update: Per comments, the original CASE NULL WHEN t0.c1 ... always evaluates to ELSE 6. Repro below uses 6 NOT IN (SELECT t0.c1 FROM t0) instead; PK vs no-PK behavior unchanged. I'm seeing this on ...
Score of 1
0 answers
108 views

Environment: Apache Ignite 3.1.0 (Native) Two colocated tables with the same distribution zone. Table details - PRODUCT_MAPPING: CREATE TABLE PRODUCT_MAPPING ( COMPANY_ID VARCHAR(10) ...
Score of -2
1 answer
150 views

When the ContactType is TRINT5, I need to get that ContactDate up to 3 days from the ContactDate of ContactType TRINT2 to show 'Met' in my CASE expression. If more than 3 days, then 'Not Met'. SELECT ...
Advice
1 vote
13 replies
144 views

I have a situation, where I am importing data stored in XML from a SQL Server table, into a temp table (#), also in SQL Server. The sample form data is as below: <ABCDE xmlns:i="http://www.w3....
Tooling
0 votes
4 replies
196 views

How can I replace numerical values with NULL in SQL You’re a junior data analyst working for a local news station and your team uses BigQuery to analyze weather trends. The station’s meteorologist ...
Score of 5
1 answer
193 views

I have an alarm summary running on Apache IoTDB 2.0.8 table model. The SQL first builds 10-minute temperature buckets in a subquery, then the outer query counts how many buckets crossed the threshold. ...
Best practices
0 votes
8 replies
158 views

My assignment is: I am a junior data analyst working with a 2023 weather dataset in Google BigQuery. I need to analyze the relationship between wind speed and visibility. However, the raw data has ...
Score of 2
1 answer
153 views

I have difficulty crafting a JSON path query that can be tuned using a Full-Text Search index effectively for what seems like a not too difficult use case. This would be for Postgres 14, but info on ...
Score of 1
1 answer
155 views

I'm querying motion sensor data stored in GridDB. Each row represents a sensor state change. Sample data: dt message 2021-06-30 10:00:00 ON 2021-06-30 10:00:13 OFF 2021-06-30 10:04:57 ON 2021-06-30 10:...
Best practices
0 votes
4 replies
66 views

I have a table containing effective-dated records. For a given PID, I need to determine the correct CODE for any date based on a priority rule between PCD values. Sample data: PID PCD STDT CODE ETDT ...
Advice
0 votes
3 replies
89 views

I have an use case where I need to replicate a sas behaviour into pyspark. In Sas, the Merge between two datasets are happening and its not 1*1 key merge. Its a m*n key merge involving multiple keys. ...
Score of 1
2 answers
232 views

I am trying to figure out how to write a query that can show me if a member meets defined metrics from our metrics table. There is a table that holds member survey answers and we have business ...

15 30 50 per page
1
2 3 4 5
44917