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
33 views

I am designing a Laravel application that handles millions of daily requests with a MySQL database containing tables with hundreds of millions of rows. A common requirement is adding or modifying ...
Score of 0
0 answers
39 views

I am attempting to add an enum of Roles for users. I have a roles table that then has a FK constraint to a roles_name table for the role name. My question is how do I deal with the roles as an enum ...
Advice
0 votes
6 replies
184 views

Like I have user Data 50 emp inside each user has different skills 3 rows same user but skill column value is different I want to concat the skill and display in single row for each user don't want ...
Score of -3
0 answers
71 views

Question from LeetCode SQL #602 using MySQL https://leetcode.com/problems/friend-requests-ii-who-has-the-most-friends/?envType=problem-list-v2&envId=m8baczxh My code: # Write your MySQL query ...
Score of 1
3 answers
158 views

I have a MySQL table with about 5 million rows: CREATE TABLE orders ( id BIGINT PRIMARY KEY, customer_id BIGINT NOT NULL, status VARCHAR(20) NOT NULL, created_at DATETIME NOT NULL, ...
Best practices
3 votes
7 replies
276 views

I am currently learning PHP and trying to follow good practices regarding login handling, sessions, input validation, and database access. I wrote the following login script and added detailed ...
Advice
1 vote
7 replies
165 views

Products: ProductID ProductName 1 Product1 2 Product2 Tags: TagID TagName 1 Tag1 2 Tag2 ProductTags (Bridge table between Products and Tags): ProductID TagID 1 2 1 2 ProductVariants: VariantID ...
Advice
0 votes
3 replies
77 views

The question is pretty much it. I have a database that serves two quite far apart campuses. It turns out that the remote campus has a sketchy network connection and can drop for up to one hour. Can ...
Score of 2
1 answer
146 views

I'm upgrading my application to Java 21 and Spring Boot 3.5.x, which brought in Hibernate 6 as a dependency. As part of this upgrade, my existing custom ID generator broke and I need to rewrite it to ...
Best practices
2 votes
7 replies
271 views

I am new to SQL and overwhelmed with tons of information and don't know where to start. Is learning from video instruction good enough? How can I make my learning experience more fun? How long does ...
Score of 1
1 answer
136 views

What is wrong with my query? CREATE PROCEDURE process_flight_log_staging_doug() BEGIN UPDATE `flight_log_staging_emt` SET `off_z` = CASE 'offz' WHEN `off_tz`='EDT' THEN `off_lcl`+INTERVAL 4 HOUR ...
Score of 0
1 answer
157 views

I have three tables, orders, invoices and invoice lines. uid OrderNumber product_id product_name quantityOnOrder 1 101 p001 Apple 6 2 102 p002 ...
Advice
0 votes
0 replies
57 views

We are migrating a Spring Boot 3.x application (using Hibernate 6) from a standalone MySQL instance to an OceanBase cluster (v4.x) running in MySQL-compatible mode. Currently, all our JPA entities are ...
Tooling
1 vote
1 replies
103 views

Currently in the architecture building phase of developing a web application. As the question states, front end will be built with Nuxt and hosted on vercel. Images, generated pdfs (part of the app's ...
Best practices
0 votes
3 replies
104 views

I'm working on a Java Spring boot app hosted on EKS. The app is running on loads of pods, assume 100s. The app is connected to an Aurora MySql8 Database. I need to run a job on a schedule that ...

15 30 50 per page
1
2 3 4 5
43824