Skip to main content

Questions tagged [join]

A SQL JOIN clause combines records from two or more tables in a relational database.

Filter by
Sorted by
Tagged with
1 vote
1 answer
98 views

I am working on a sql query for the following scenario: Get all available offers for registered demand (offers from profiles should not be from profile which had registered demand). After that get ...
Gleichmut's user avatar
  • 121
0 votes
2 answers
602 views

Looking a way to reduce the below code to get comma separated values from the list of arrays By using ECMA or plain old vanilla JS. How should we achieve this? Actual Array Data: ...
Nɪsʜᴀɴᴛʜ ॐ's user avatar
-1 votes
1 answer
67 views

I have a table called dfmt that lists the location, revenue and franchise. I want to find the franchise pairs that operate together in more than one location. So far, I have a query that finds the ...
anon's user avatar
  • 1
3 votes
2 answers
242 views

The following SQL code keeps only the MAX(date) rows with the same id and question values. I would like to know if there is a simpler/ shorter syntax returning the same result. ...
ZygD's user avatar
  • 143
3 votes
1 answer
127 views

I am designing a Stock Currency application and for that, I created a database. I searched for my question here first but the answerer told me to ask the same question here. ...
alkanstein's user avatar
2 votes
0 answers
1k views

I've a scenario where 10K+ regular expressions are stored in a table along with various other columns and this needs to be joined against an incoming dataset. Initially I was using "spark sql rlike" ...
Wiki_91's user avatar
  • 43
4 votes
1 answer
112 views

I'm trying to upgrade my javascript to be more functional. I have used function composition and curry successful on less complicated code but i'm now running into a point where i'm not sure on how to ...
ngr's user avatar
  • 115
6 votes
1 answer
991 views

I have Gig and Singer Active Record models (standard--no customization just yet) with a many-to-many relationship through a ...
thumbtackthief's user avatar
2 votes
1 answer
128 views

I'm interested in a way to join three (or more) tables in a way that is more efficient (both in terms of conciseness of code and in terms of generating the results) than what I have currently. ...
enharmonic's user avatar
1 vote
1 answer
816 views

I have a users table where some users have the same name: ...
Nicolas Raoul's user avatar
3 votes
1 answer
80 views

I'm writing a python script and do database query to get the ids of employees who are in one table but are not in another. I'm using psycopg2 module for python 2 and PostgreSQL as database. After ...
Ibrahim Rahimi's user avatar
4 votes
1 answer
263 views

Calculate the number of loans issued by the Regional offices for each business week in the period from 38 to 40 business week of 2011 inclusive. Sort by name of the regional unit, business week. ...
Pavel Kononenko's user avatar
5 votes
1 answer
75 views

I have an API which I can't modify. I have to use data as it is. I want to join data from two separate requests where the second request is based on data from the first one. I have a working ...
Lyczos's user avatar
  • 151
1 vote
1 answer
108 views

I have written a query to generate payroll based on attendance for a month, for about 4000 employees. It takes quite a long time to execute. Basically, what I am doing is to joining two different ...
Parvez's user avatar
  • 23
3 votes
2 answers
451 views

I have an import macro, which creates ID by concatenating cells, then I compare using VLOOKUP with another sheet if any duplicate found. It's running very slowly, so I want to know better ways to ...
Eleutery's user avatar

15 30 50 per page
1
2 3 4 5
7