CARVIEW |
Select Language
HTTP/2 200
date: Tue, 22 Jul 2025 20:12:53 GMT
content-type: text/html; charset=utf-8
cf-ray: 9635986c38d69dfa-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=3a6cf25c-2c42-4908-acad-c721da4c1a2c; expires=Wed, 22 Jul 2026 20:12:52 GMT; domain=.stackexchange.com; path=/; secure; httponly
strict-transport-security: max-age=31536000; includeSubDomains
vary: Accept-Encoding
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
x-frame-options: SAMEORIGIN
x-request-guid: 77e15260-c75f-4456-a135-d5fcf2168a7c
x-worker-origin-response-time: 598000000
x-dns-prefetch-control: off
set-cookie: prov=3a6cf25c-2c42-4908-acad-c721da4c1a2c; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=SJ2orUM6yrtvod_CvgNrR7gzmvir_hULLYNYhWdz_kw-1753215173-1.0.1.1-JIzfDgffcDdZ5kR0HcbgLzO7pqLex7RbU.K8CQ7ii_7ALOBp_X6UiOaKftsvv6Y0ZvPw1yRXSU7nIrgSJ2D_9opciXBWNPGneTB8hR.4_TQ; path=/; expires=Tue, 22-Jul-25 20:42:53 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=gGaMNzpDsqv8uxebDoPNRc5IV2HJmCQXe1Vx54Ab5xE-1753215173118-0.0.1.1-604800000; path=/; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
content-encoding: gzip
Newest 'mysql' Questions - Code Review Stack Exchange
Skip to main content
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack ExchangeTeams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about TeamsQuestions tagged [mysql]
MySQL is an open-source, relational database management system. If your PHP code uses MySQLi, use the MySQLi tag instead.
1,089 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
1
answer
43
views
Cmake build system for prototype planner software using boost and other previously written code
I'm prototyping/debugging some C++ code that I may turn into a longtime project. The build system is ready for review, the prototype is not.
The GitHub repository for the code listed below.
Like all ...
6
votes
2
answers
690
views
Weather Observation Station 8 query
Here's my (correct) solution to a HackerRank question:
Weather Observation Station 8
Query the list of CITY names from STATION which have vowels (i.e., a, e, i, o, and u) as both their first and last ...
3
votes
1
answer
74
views
A function that returns correct number of inserted, updated and skipped rows for INSERT or UPDATE query
When MySQL executes a Data Modification Query, it provides some additional info on the outcome, which is usually displayed in the console. This info is also being exposed through MySQL C API and this ...
5
votes
3
answers
1k
views
Slow SQL query with nested subquery
I have written the below query in order to identify how many events (occur over a week) in each hour.
...
4
votes
2
answers
472
views
Improving upon the Security of my Export Remote Database to Local PHP API
I am working on an in-house application, and I am working on how our application communicates with our remote server.
I have a PHP script that acts as an API to call to our MySQL DB and dump its ...
6
votes
4
answers
2k
views
Program for an employee database using python
In this program I'm defining functions to perform different tasks on a data record book for employees.
Here is a summary of the code:
Intro() to make the presentation of the home page.
create_record()...
0
votes
0
answers
67
views
Connection pool design for Boost MySQL
I had to design a connection pool that handles Boost MySQL connection to use the asynchronous functions.
Here is the code:
...
3
votes
1
answer
136
views
Faster Query to Track State changes in a Large Table
I have a table that tracks state changes of an entity with timestamps. The schema of the table is as follows:
entityid
userid
originalvalue
newvalue
changetime
255
101
Draft
Submitted
2023-11-28 12:10:...
4
votes
1
answer
132
views
Evaluating Extended Operating Hours Past Midnight Across Timezones in PHP
I am working on a project that involves tracking the operating hours of businesses across different timezones. Some of these businesses operate past midnight, and to accommodate this, operating hours ...
2
votes
1
answer
256
views
MySQL interval search query suggestions
My database structure is:
...
8
votes
3
answers
1k
views
A simple PHP login form with PDO
I wrote a simple PHP login form for a website. It has an initialization script, as well as a form to allow a user to login, plus a link to log the user out after logging in.
...
3
votes
1
answer
118
views
Consuming sharded database using node.js
I think the only big improvement that can be made is to check which shard to query based on the userIds of the followed users. One easy way is to check the last ...
user225166
3
votes
1
answer
104
views
SQL query creating tables needed by a simple PHP CMS
I have written recently the SQL query to MariaDB that I want to move into PHP code. Below is my test.sql file. What do you think about my SQL code?
...
2
votes
1
answer
96
views
delete rows based on references to other tables in a mysql database?
I have a database with the following hierarchy.
A dataset can have multiple scans (foreign key scan.id_dataset -> dataset.id)
A scan can have multiple labels (<...
1
vote
1
answer
123
views
mySQL adjacency list model : Always retrieve parent and children/siblings
I’m using mySQL to create and adjacency list model type of table. I have only one level, that is a parent with children, like this:
...
- The Overflow Blog
-
-
- Featured on Meta
-
-
Related Tags
php × 579
sql × 311
pdo × 154
performance × 125
python × 82
mysqli × 70
database × 67
object-oriented × 64
security × 64
java × 62
c# × 61
beginner × 59
javascript × 39
html × 35
optimization × 31
python-3.x × 27
sql-injection × 26
authentication × 24
join × 24
node.js × 21
php5 × 19
ajax × 17
json × 17
datetime × 15
laravel × 15
more related tags
Hot Network Questions
- Cross-Level Interactions. Jointly or separated?
- Explorers land on alien planet on which is a dark/black tower which can control machinery
- Can heat be converted to light (possibly via infra-red)? For an underground setting
- Can formal parameters inside the function not be dropped even if the function returns until the caller statement ends?
- How do we prove that all real processes are irreversible?
- Why is my gooseberry jam so stiff?
- Was the double prehung exterior door on my shed installed backwards?
- Connection time of 50 minutes in Helsinki Airport
- Must hospitals care for unidentifiable individuals indefinitely?
- Can you identify this shell case from Flanders?
- Comprehensive explanation of targum onkelus
- Not sure which test statistic to look at with regression with interaction term
- Can I mount my PC with a desktop mount underneath a particle board Ikea Karlby Walnut top?
- What is this smd component that all in white?
- How to format an equation with accolades and multiple lines?
- Which was the first story to feature the idea of men and women separated in different civilizations and in constant space war?
- TeX development in C instead of Pascal
- How to force drives to be on a predicted device name
- Console-based Casino Game in C++
- What does it mean when validation loss increases over several epochs?
- How can I add a bevel modifier that uses vertex group on top of a bevel modifier using bevel weight?
- effectivenes of bear horn vs bear spray
- Why does contact with the ground make my touch-activated LED brighter?
- Probability of making a Tower with exactly two different colors