CARVIEW |
Select Language
HTTP/2 200
date: Sat, 26 Jul 2025 13:11:23 GMT
content-type: text/html; charset=utf-8
cf-ray: 965424829cbf3585-BLR
cf-cache-status: DYNAMIC
cache-control: private
set-cookie: prov=a1bef52a-0f60-4590-92f7-a25c1712cb1f; expires=Sun, 26 Jul 2026 13:11:23 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-clacks-overhead: GNU Terry Pratchett
x-frame-options: SAMEORIGIN
x-request-guid: f6874daa-70b4-4a47-bbbb-74b214b1d912
x-worker-origin-response-time: 596000000
x-dns-prefetch-control: off
set-cookie: prov=a1bef52a-0f60-4590-92f7-a25c1712cb1f; Path=/; HttpOnly; Domain=stackexchange.com
set-cookie: __cf_bm=gITY0FaxZRJvepFLzfv1uecj7NyV6Y_GAptj7M.pAg8-1753535483-1.0.1.1-DO3vnVGzQ.0139oHPl.X42vQ_KmgH.i_CHyoL7OnfX.x1srtPs_DayokO1xX61rJflXtt0mNt_6.f6is2d.Am_hi1paWsT2Yrn6uJUGLCbM; path=/; expires=Sat, 26-Jul-25 13:41:23 GMT; domain=.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: _cfuvid=6EzCeJMA077KIkio3Ha23_dEInjkEj.LFqZc.uCA6cc-1753535483915-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
44
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
691
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
474
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
133
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
- What Isp can be gotten from a napthalene (mothball) hot gas thruster? Did it work in space?
- What is the meaning of 'Tel.......,qui......'
- Inequality for partitions
- I don't have enough alive employees to start the day. What now?
- About security concerns using in find -exec vs interactively performing the same task
- Weird TV balun cable
- Why are police personnel of all ranks called officers?
- Tracking stored procedure performance metrics
- Can one engage with physics (or science) without touching philosophy?
- spots / stains on tubeless tire
- About Harp Pedaling for a Pentatonic Glissando
- What does "Store Name" mean on the Tokyo-Narita Airport Bus timetable?
- With the view in Paul Bernays's Axiomatic Set Theory (1958),How can I understand the situation which Halmos mentioned?
- A question about as ..... as comparison
- Mars colony book I read in the 80's. The name?
- Is the surface of Mars or the Moon mostly (or relatively) homogeneous, unlike the Earth?
- Why aren't there baleen whales at about the size of a dolphin?
- What does "enter the hold at arden" mean
- What does this emblem mean?
- Why does “brew search” for “peertube” match with “freetube”? How does the search work?
- Why does my laptop's display turn off when I'm away from the keyboard?
- How to navigate in the Universe's Heat Death
- tac-command is it a bug or a misinterpretation of the manual?
- Is there such a thing as 'aerospace grade software'?