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
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
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
Databases
2.2k+ articles
How To
1.7k+ articles
DBMS
1.5k+ articles
SQL
1.5k+ articles
Misc
1.3k+ articles
Oracle
330+ articles
mysql
310+ articles
SQL-Server
300+ articles
SQL-Functions
25 articles
sql-serevr
3 articles
SQL-Query
170+ posts
Popular Articles
Recent Articles
SQL Query to Find Names of the Employees Whose Department Have Number of Employees Less than 2
Last Updated: 26 May 2023
In SQL, we need to find out the department wise information from the given table containing information about employees. One such data is th
...read more
SQL
SQL-Server
Picked
SQL-Query
SQL Query to Display All the Existing Constraints on a Table
Last Updated: 30 December 2021
In SQL, we sometimes need to display all the currently existing constraints on a table. The whole process for doing the same is demonstrated
...read more
SQL
SQL-Server
Picked
SQL-Query
Selecting Multiple Columns Based On Condition in SQL
Last Updated: 02 December 2024
SQL (Structured Query Language) is used to manage and query databases. One common requirement when querying data is selecting multiple colum
...read more
SQL
SQL-Server
Picked
SQL-Query
Databases
Similar Topics
Databases
2.2k+ articles
How To
1.7k+ articles
DBMS
1.5k+ articles
SQL
1.5k+ articles
Misc
1.3k+ articles
Oracle
330+ articles
mysql
310+ articles
SQL-Server
300+ articles
SQL-Functions
25+ articles
sql-serevr
3+ articles
How to Specify a Date Format on Creating a Table and Inserting Values in SQL?
Last Updated: 18 December 2024
Dates are a fundamental part of database management, as they provide a timeline for analyzing data trends, tracking records, and scheduling
...read more
SQL
SQL-Server
Picked
SQL-Query
Databases
How to Update From One Table to Another Based on an ID Match in SQL
Last Updated: 19 December 2024
In SQL, updating data between tables is a common operation used to maintain data consistency and accuracy across related datasets. Whether w
...read more
SQL
SQL-Server
Picked
SQL-Query
Databases
SQL Query to Update All Rows in a Table
Last Updated: 12 December 2024
Updating all rows in a SQL table is a common task when we need to make changes to every record without specifying individual rows. This oper
...read more
SQL
SQL-Server
Picked
SQL-Query
Databases
SQL Query to Check If a Name Begins and Ends With a Vowel
Last Updated: 08 October 2021
In this article, we will see an SQL query to check if a name begins and ends with a vowel and we will implement it with the help of an examp
...read more
SQL
SQL-Server
Picked
SQL-Query
SQL Query to Rename Database
Last Updated: 13 May 2025
Renaming a database in SQL is an essential task that database administrators and developers frequently perform. Whether you’re reorganizin
...read more
SQL
SQL-Server
Picked
SQL-Query
Databases
SQL Query to Get the Latest Record from the Table
Last Updated: 05 December 2024
Fetching the latest record from a table is a frequent and essential task when managing relational databases. Whether you want to retrieve al
...read more
SQL
SQL-Server
Picked
SQL-Query
Blogathon
Blogathon-2021
Databases
SQL Query to Create Table With a Primary Key
Last Updated: 27 November 2024
A primary key is essential in SQL databases to uniquely identify each row in a table. It ensures data integrity by containing only unique an
...read more
SQL
Picked
SQL-Query
Blogathon
Blogathon-2021
Databases
SQL USE Database Statement
Last Updated: 27 December 2024
SQL(Structured Query Language) is a standard Database language that is used to create, maintain and retrieve the data from relational databa
...read more
SQL
Picked
SQL-Query
How to Set a Column Value to Null in SQL?
Last Updated: 06 September 2023
You can set a column value to NULL using the SQL UPDATE statement. Through the UPDATE statement, existing records in a table can be changed.
...read more
SQL
SQL-Server
Picked
SQL-Query
SQL Query to Convert UTC to Local Time Zone
Last Updated: 13 December 2022
In this article, we will cover how to convert UTC to the local time zone for the different times of UTC in the database. Now, let's execute
...read more
SQL
Picked
SQL-Query
Compare and Find Differences Between Two Tables in SQL
Last Updated: 23 April 2021
Structured Query Language or SQL is a standard Database language that is used to create, maintain and retrieve the data from relational data
...read more
SQL
Picked
SQL-Query
SQL Query to Find all the Students with Marks Greater than Average Marks
Last Updated: 19 April 2021
Query in SQL is like a statement that performs a task. Here, we need to write a query to find all the students whose marks are greater than
...read more
SQL
Picked
SQL-Query
First
1
2
3
4
5
6
7
8
>>
Last
First
1
2
3
4
5
6
>>
Last
First
1
2
3
4
>>
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 !