CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 06:10:06 GMT
content-type: text/html; charset=utf-8
cf-ray: 9639033faaf9c179-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=d80f6383-461d-4af1-899b-113f5650b39f; expires=Thu, 23 Jul 2026 06:10:05 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: 8b27abfc-0e51-4c3d-97ca-e3751cd80b92
x-worker-origin-response-time: 628000000
x-dns-prefetch-control: off
set-cookie: prov=d80f6383-461d-4af1-899b-113f5650b39f; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=0rdnGN1FbNYPuWzJ.oPG.tAlHzGzoHfNX_9VzWhXfCQ-1753251006-1.0.1.1-7Zd6U0P7unLD2Q.EunhiIadsn3CdI4h1GmgPLca0JJVFn38uXWpo._qiQuPn.V7QDnxeY2U5bN3QQs1ei8ojHi1A58VVoRjFb5Bx0FevM1A; path=/; expires=Wed, 23-Jul-25 06:40:06 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=OjN9s_6CQxGld3njA80N75dU_glZqaXtxT6WMQQYD60-1753251006031-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
- bootstrapping for variance estimation takes too long
- Define command valid only for a specific environment in expl3
- How much power does the Fed chair have over interest rates?
- Book/book series including siblings (possibly twins; boy and girl) fighting various creatures from the 2010's
- How Model This Twisted Torus?
- Why does internal energy end up higher in an irreversible adiabatic process, even though the work done is less?
- Why Schrodinger wave equation is totally different from classical wave equation?
- How do I choose the cutoff frequency for a filter before a Sigma-Delta ADC?
- Mother in Law has overstayed her schengen visitor visa by 9 days. I am applying for the same visa this year, what should we take care of?
- Is it rude to make someone an academic reference without getting their permission first?
- Active space characters
- How would a DiVicenzo machine prepare the maximally mixed state with a small number of ancilla qubits?
- Calculating the wall thickness in a hollow rotating cylinder space habitat
- What was the Russia-Germany 1996 "Defence pact" that Russia recently announced has been terminated?
- Ubuntu gives the message "You are in emergency mode."
- What Does It Mean to ‘Continue in My Word’ in John 8:31?
- Is it legal for businesses to give financial incentives for leaving positive reviews on review sites (e.g., Google Maps, Yelp, Facebook, Amazon)?
- Is there a way to retrieve my inventory from the void in Minecraft Java Edition?
- What was intestacy law in 1852 London?
- A word that describes some people
- Which was the first story to feature the idea of men and women separated in different civilizations and in constant space war?
- Why does contact with the ground make my touch-activated LED brighter?
- Unused Object Not Removed After Purging
- Why is this endgame winning for Black?