Help with tutoring
Reddit » SQL (Structured Query Language)
by /u/josuejims
7h ago
I had a SQL exam for a job interview using a Soccer World Cup database, and I want to see if someone can offer help with a tutorial of approximately one hour to guide me in solving the problems. If they require financial compensation, we can reach an agreement without any issue. Just remember that I am from a third-world country and may not be able to offer a substantial amount. Thank you." submitted by /u/josuejims [visit reddit] [comments ..read more
Visit website
How can SQL duplicate inserts?
Reddit » SQL (Structured Query Language)
by /u/EarlyAdvantage7714
9h ago
We have a strange issue where records on our database were duplicated, all inserts that happend in a 2 hour period are showing twice. Our server has a software that minitors requests, you can see the calls to the database and the data that is being passed to the stored procedures that does an insert, none of the requests are comming twice. The procs that are doing an insert dont have anything that is a loop. This doesnt make a sense. How can SQL duplicate inserts? submitted by /u/EarlyAdvantage7714 [visit reddit] [comments ..read more
Visit website
MS SQL Question Regarding System_Health and Dev Environment
Reddit » SQL (Structured Query Language)
by /u/Pardo48
12h ago
I recently got added to my works dev environment and I noticed that system_health isn't there. Is it common to not have system_health for dev? submitted by /u/Pardo48 [visit reddit] [comments ..read more
Visit website
Error in MySQL
Reddit » SQL (Structured Query Language)
by /u/olly_s122
13h ago
Sounds stupid but I’m new, I don’t know how to fix this. I’m trying to create a table with txid, amount, costumer id first & last name but getting this issue. submitted by /u/olly_s122 [visit reddit] [comments ..read more
Visit website
Query to calculate the remaining units to the next day
Reddit » SQL (Structured Query Language)
by /u/felipebrunet
13h ago
Context: I have a table that has 3 columns: "day", "arrivals", "max_output_capacity". The table is basically this: day arrivals max_output_capacity 0 0 2 1 2 3 2 5 4 3 0 5 4 0 5 5 14 1 6 0 3 The arrivals are units (packages) that arrive to the shop each day. Those units need to be sent to destinations ideally that very same day. Most of the time the maximum_output_capacity each day is enough to send all packages that same day, but sometimes the arrivals are larger than the maximum output capacity. When this happens, there is a remaining number of packages that needs to b ..read more
Visit website
Why add the table name to id column and other columns? Is there even a benefit or reason?
Reddit » SQL (Structured Query Language)
by /u/El_Mario_Verde
13h ago
I have two questions 1) Why do people add the name of the table to the Id column? Why is this so common? 2) Why do people add the name of the table to all other columns? This is less comon but still highly common. I don't understand what possible benefit it could have at all. To me it seems very very redundant, as the table name already provides context. Right now this looks to me like some ancient cargo cult from older days that does not have any reason to exist at all. Please help me understand this. Thank you. submitted by /u/El_Mario_Verde [visit reddit] [comments ..read more
Visit website
Does this part of my code make sense? (Please be brutally honest because I want to learn and get better)
Reddit » SQL (Structured Query Language)
by /u/TheRadioKingQueen
14h ago
I have a job interview next Wednesday for an entry level Data Analyst position. I want to show them samples of my code so that they can see that I know the basics. But I've confused myself with one of my tables and I'd appreciate some insight from people who know better than I do. In my hypothetical example, a customer with the ID B673 made two orders in the same day. While I wanted a general unique index for this section, the 'INSERT IGNORE' statement is used for one of the insertions to handle the duplicate (caused by the same customer making two orders on the same day). Does that make sens ..read more
Visit website
Which Open Source DB software to use for personal OLAP/data analytic use
Reddit » SQL (Structured Query Language)
by /u/Temporary_Mark3161
14h ago
Hello. I have been teaching myself network administration, server setup, and more as part of a larger project to try to build a database for market trading analytics. I have spent a bunch of time playing around with, downsizing, and researching various types of databases, sql and no sql but can’t settle on a good one for this. My goal is to use this to track all actions made. And then using various filters and aggregations to make different tables each with different aggregations styles.But all based of the same parent data. As far as my understanding goes this is exactly OLAP. However I can ..read more
Visit website
Complex multi-column string manipulation query
Reddit » SQL (Structured Query Language)
by /u/Then-Positive-7875
16h ago
Hello, I am going to need some assistance for a very complex multi-complex query for a dynamic menu that uses each column for building submenus. So the issue I have is that I want to have the query checking for the 2nd column to only display the value of the source column if it is the only item Source Table AAA AAB AAC ABA ACA ACB BAA BAB BAC BBA BCA BCB BDA Result Table A AA AAA A AA AAB A AA AAC A ABA NULL A AC ACA A AC ACB B BA BAA B BA BAB B BA BAC B BBA NULL B BC BCA B BC BCB B BDA NULL So the example I have up here the first set is the source column, and the next set are the desir ..read more
Visit website
Right way to go about it?
Reddit » SQL (Structured Query Language)
by /u/AdeptWind
18h ago
Hi all, Background - I don't have a technical background (finance) and the SQL I know has been entirely self taught. Just wondering if my approach is the optimal way for the purpose of my query. Case: FI running a promo for product X between dates A and B that will transition to product Y after end of promo period. Unique identifier is account and ask is to seek retention. For example, customer opens an account under product X during promo period, and after date C, that account will still be there but product would be under product Y. And we want to see how many accounts are left as the custo ..read more
Visit website

Follow Reddit » SQL (Structured Query Language) on FeedSpot

Continue with Google
Continue with Apple
OR