Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
GfG 160: Daily DSA
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Sign In
▲
Similar Topics
Web Technologies
38.9k+ articles
DSA
22.5k+ articles
Python
20.5k+ articles
Experiences
16.5k+ articles
Interview Experiences
14.1k+ articles
JavaScript
11.7k+ articles
School Learning
11.3k+ articles
Java
10.5k+ articles
Databases
2.2k+ articles
MySQL
220+ articles
MySQL Query
45 posts
Popular Articles
Recent Articles
How to Get First Day of Every Corresponding Month in MySQL?
Last Updated: 14 June 2024
In the MySQL database, we generally need to get the first day of a month from a certain date. While there are many tasks related to date
...read more
Picked
Databases
MySQL
MySQL Query
How to Restrict Results to Top N Rows per Group in MySQL
Last Updated: 12 March 2024
When working with MySQL databases, the need to limit results to the top N rows per group is a common requirement. This is particularly usefu
...read more
Picked
Databases
MySQL
MySQL Query
How to Update Table Rows Using Subquery in MySQL
Last Updated: 26 June 2024
Updating table rows using subqueries in MySQL enables precise modifications based on specific conditions or values from other tables. This t
...read more
Picked
Databases
MySQL
MySQL Query
Similar Topics
Web Technologies
38.9k+ articles
DSA
22.5k+ articles
Python
20.5k+ articles
Experiences
16.5k+ articles
Interview Experiences
14.1k+ articles
JavaScript
11.7k+ articles
School Learning
11.3k+ articles
Java
10.5k+ articles
Databases
2.2k+ articles
MySQL
220+ articles
Create Unique Constraint with NULL Columns in MySQL
Last Updated: 18 September 2024
Unique constraint in MySQL ensures that each value in the column is unique. If a column contains a NULL value, it is also treated as a uniqu
...read more
Picked
Databases
MySQL
MySQL Query
How to Get Record Count for All Tables in MySQL Database
Last Updated: 19 June 2024
In DBMS, counting records for all tables within a MySQL database is a fundamental requirement. Understanding the size and distribution of da
...read more
Picked
Databases
MySQL
MySQL Query
Pagination Using MySQL LIMIT, OFFSET
Last Updated: 19 June 2024
Pagination enables users to view a limited set of records per page. It is very useful in database-driven applications as it makes it easier
...read more
Picked
Databases
MySQL
MySQL Query
MySQL Can't Specify Target Table For Update in FROM Clause
Last Updated: 12 February 2024
The "MySQL can't specify target table for update in FROM clause" error is a common challenge encountered when attempting to update a table b
...read more
Picked
Databases
MySQL
MySQL Query
How to Disable ONLY_FULL_GROUP_BY in MySQL?
Last Updated: 28 June 2024
In MySQL, the 'ONLY_FULL_GROUP_BY' mode ensures that queries with GROUP BY clauses are written according to SQL standards. This mode require
...read more
Picked
Databases
MySQL
MySQL Query
How To Get Last Record In Each Group In MySQL?
Last Updated: 04 April 2024
In MySQL, we group the data using the GROUP BY clause. There can be a need to access these groups and get the latest record in each group, f
...read more
Picked
Geeks Premier League
Geeks Premier League 2023
Databases
MySQL
MySQL Query
How to SELECT Rows With MAX PARTITION By Another Column in MySQL
Last Updated: 15 July 2024
MySQL is a widely used relational database management system (RDBMS) that provides a robust and scalable platform for managing and organizin
...read more
Picked
Databases
MySQL
MySQL Query
How to Select Random Row in MySQL
Last Updated: 21 June 2024
In database operations, selecting random rows from a table is a common requirement for various applications, such as gaming, content recomme
...read more
Picked
Geeks Premier League
Geeks Premier League 2023
Databases
MySQL
MySQL Query
Retrieve Records from Multiple Tables in MySQL
Last Updated: 21 June 2024
In relational databases like MySQL, data is often spread across multiple tables to maintain normalization and avoid redundancy. To effective
...read more
Picked
Databases
MySQL
MySQL Query
How to Insert a Line Break VARCHAR String in MySQL
Last Updated: 05 February 2024
When dealing with textual data in MySQL databases, maintaining proper formatting is important for readability and clarity. One common format
...read more
Picked
Geeks Premier League
Geeks Premier League 2023
Databases
MySQL
MySQL Query
How to Select Row With Max Value in MySQL?
Last Updated: 05 February 2024
MYSQL is an open-source Relation Database Management System that stores data in tables with rows and columns. It is formed from two words �
...read more
Picked
Geeks Premier League
Geeks Premier League 2023
Databases
MySQL
MySQL Query
How to Remove Duplicate Records Except a Single Record in MySQL?
Last Updated: 09 July 2024
In MySQL, remove duplicate records while preserving one representative entry using a DELETE statement with a self-join. Match records based
...read more
Picked
Geeks Premier League
Geeks Premier League 2023
Databases
MySQL
MySQL Query
First
1
2
3
>>
Last
First
1
2
3
>>
Last
First
1
2
3
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !