so like uhhhh why does SQL already make me wanna blow up
seen from Türkiye

seen from United States
seen from United States
seen from United States

seen from United States
seen from Australia
seen from United States
seen from Malaysia

seen from Germany
seen from United States
seen from Germany

seen from United States
seen from Australia
seen from China

seen from United States
seen from China
seen from United States

seen from Canada
seen from China
seen from China
so like uhhhh why does SQL already make me wanna blow up
SQL Fundamentals #1: SQL Data Definition
Last year in college , I had the opportunity to dive deep into SQL. The course was made even more exciting by an amazing instructor . Fast forward to today, and I regularly use SQL in my backend development work with PHP. Today, I felt the need to refresh my SQL knowledge a bit, and that's why I've put together three posts aimed at helping beginners grasp the fundamentals of SQL.
Understanding Relational Databases
Let's Begin with the Basics: What Is a Database?
Simply put, a database is like a digital warehouse where you store large amounts of data. When you work on projects that involve data, you need a place to keep that data organized and accessible, and that's where databases come into play.
Exploring Different Types of Databases
When it comes to databases, there are two primary types to consider: relational and non-relational.
Relational Databases: Structured Like Tables
Think of a relational database as a collection of neatly organized tables, somewhat like rows and columns in an Excel spreadsheet. Each table represents a specific type of information, and these tables are interconnected through shared attributes. It's similar to a well-organized library catalog where you can find books by author, title, or genre.
Key Points:
Tables with rows and columns.
Data is neatly structured, much like a library catalog.
You use a structured query language (SQL) to interact with it.
Ideal for handling structured data with complex relationships.
Non-Relational Databases: Flexibility in Containers
Now, imagine a non-relational database as a collection of flexible containers, more like bins or boxes. Each container holds data, but they don't have to adhere to a fixed format. It's like managing a diverse collection of items in various boxes without strict rules. This flexibility is incredibly useful when dealing with unstructured or rapidly changing data, like social media posts or sensor readings.
Key Points:
Data can be stored in diverse formats.
There's no rigid structure; adaptability is the name of the game.
Non-relational databases (often called NoSQL databases) are commonly used.
Ideal for handling unstructured or dynamic data.
Now, Let's Dive into SQL:
SQL is a :
Data Definition language ( what todays post is all about )
Data Manipulation language
Data Query language
Task: Building and Interacting with a Bookstore Database
Setting Up the Database
Our first step in creating a bookstore database is to establish it. You can achieve this with a straightforward SQL command:
CREATE DATABASE bookstoreDB;
SQL Data Definition
As the name suggests, this step is all about defining your tables. By the end of this phase, your database and the tables within it are created and ready for action.
1 - Introducing the 'Books' Table
A bookstore is all about its collection of books, so our 'bookstoreDB' needs a place to store them. We'll call this place the 'books' table. Here's how you create it:
CREATE TABLE books ( -- Don't worry, we'll fill this in soon! );
Now, each book has its own set of unique details, including titles, authors, genres, publication years, and prices. These details will become the columns in our 'books' table, ensuring that every book can be fully described.
Now that we have the plan, let's create our 'books' table with all these attributes:
CREATE TABLE books ( title VARCHAR(40), author VARCHAR(40), genre VARCHAR(40), publishedYear DATE, price INT(10) );
With this structure in place, our bookstore database is ready to house a world of books.
2 - Making Changes to the Table
Sometimes, you might need to modify a table you've created in your database. Whether it's correcting an error during table creation, renaming the table, or adding/removing columns, these changes are made using the 'ALTER TABLE' command.
For instance, if you want to rename your 'books' table:
ALTER TABLE books RENAME TO books_table;
If you want to add a new column:
ALTER TABLE books ADD COLUMN description VARCHAR(100);
Or, if you need to delete a column:
ALTER TABLE books DROP COLUMN title;
3 - Dropping the Table
Finally, if you ever want to remove a table you've created in your database, you can do so using the 'DROP TABLE' command:
DROP TABLE books;
To keep this post concise, our next post will delve into the second step, which involves data manipulation. Once our bookstore database is up and running with its tables, we'll explore how to modify and enrich it with new information and data. Stay tuned ...
Part2
In this Joins in SQL in Hindi course, you will learn fundamentals and all types of Joins in SQL and how to use joins with conditions, and at
What Is SQL?
SQL is a short form of structured query language, and is sometimes referred to as S-Q-L or sometimes as See-Quell. This language is primarily designed to store data in related database management systems. It is a special tool used by professionals to manage structured data (data stored in the form of tables). You can easily create and manage a database, access and modify table rows and columns,…
View On WordPress
SQL Fundamentals #2: SQL Data Manipulation
In our previous database exploration journey, SQL Fundamentals #1: SQL Data Definition, we set the stage by introducing the "books" table nestled within our bookstore database. Currently, our table is empty, Looking like :
books
| title | author | genre | publishedYear | price |
Data manipulation
Now, let's embark on database interaction—data manipulation. This is where the magic happens, where our "books" table comes to life, and we finish our mission of data storage.
Inserting Data
Our initial task revolves around adding a collection of books into our "books" table. we want to add the book "The Great Gatsby" to our collection, authored F. Scott Fitzgerald. Here's how we express this in SQL:
INSERT INTO books(title, author, genre, publishedYear, price) VALUES('The Great Gatsby', 'F. Scott Fitzgerald', 'Classic', 1925, 10.99);
Alternatively, you can use a shorter form for inserting values, but be cautious as it relies on the order of columns in your table:
INSERT INTO books VALUES('The Great Gatsby', 'F. Scott Fitzgerald', 'Classic', 1925, 10.99);
Updating data
As time goes on, you might find the need to modify existing data in our "books" table. To accomplish this, we use the UPDATE command.For example :
UPDATE books SET price = 12.99 WHERE title = 'The Great Gatsby';
This SQL statement will locate the row with the title "The Great Gatsby" and modify its price to $12.99.
We'll discuss the where clause in (SQL fundamentals #3)
Deleting data
Sometimes, data becomes obsolete or irrelevant, and it's essential to remove it from our table. The DELETE FROM command allows us to delete entire rows from our table.For example :
DELETE FROM books WHERE title = 'Moby-Dick';
This SQL statement will find the row with the title "Moby-Dick" and remove it entirely from your "books" table.
To maintain a reader-friendly and approachable tone, I'll save the discussion on the third part of SQL, which focuses on data querying, for the upcoming post. Stay tuned ...
Build Smarter Excel Skills with the Best Advanced Excel Course with AI in Noida
In today's data-driven world, Excel alone is no longer enough. Employers are looking for professionals who can combine Advanced Excel with AI to analyze data faster, automate repetitive tasks, and make smarter business decisions. If you're ready to upgrade your skills, join the Best Advanced Excel Course with AI in Noida at GVT Academy.
Our industry-focused Training Course is designed for students, working professionals, job seekers, and business owners who want practical, hands-on learning. As the Best Advanced Excel with AI Institute in Delhi NCR, we cover everything from advanced formulas, Pivot Tables, Dashboards, Power Query, Power Pivot, VBA Macros, data visualization, and AI-powered Excel tools that improve productivity.
✅ Comprehensive Course Syllabus with real-world projects ✅ Affordable Course Fee with flexible payment options ✅ Live Online & Classroom Offline Training ✅ Industry-recognized Certification after successful completion ✅ Internship opportunities to gain practical experience ✅ Dedicated Placement Assistance with interview preparation
Our expert trainers focus on practical learning instead of theory, ensuring you build job-ready skills that employers value. Whether you're aiming for roles in MIS, Data Analysis, Finance, HR, Operations, or Business Analytics, this Training Institute helps you stay ahead with the latest AI-powered Excel techniques.
Don't let outdated skills hold you back. Enroll in the Best Advanced Excel Course with AI in Noida and transform your career with professional Training, Internship, Placement support, and an industry-recognized Certification.
🌐 Website: https://gvtacademy.com/advanced-excel-course/
Data Analytics Course in Pitampura | Trending Course 2026 | DICS
Join the best Data Analytics Course in Pitampura at DICS Innovatives. Learn Excel, SQL, Python, Power BI & Tableau with practical training and placement support.
Best Data Analyst Course with Generative AI in Noida | Build a Future-Ready Career with GVT Academy
Data is the new currency, and AI is transforming the way businesses make decisions. If you're looking to start a rewarding career in analytics, it's time to join the Best Data Analyst Course with Generative AI in Noida at GVT Academy.
Our industry-focused program is designed for students, graduates, working professionals, and career changers who want practical, job-ready skills. The syllabus covers everything required by today's employers, including Advanced Excel, SQL, Power BI, Python, Statistics, Data Visualization, Dashboard Development, and Generative AI tools that help automate reporting, analysis, and decision-making.
At GVT Academy, learning goes beyond theory. You'll work on real-world projects, receive internship opportunities, and get dedicated placement assistance to help you launch your career with confidence. Whether you prefer online or offline classes, our flexible learning options make it easy to upgrade your skills from anywhere.
As the Best Data Analyst Institute in Delhi, we focus on hands-on training, experienced mentors, interview preparation, resume building, mock interviews, and an industry-recognized Certification that adds value to your profile.
Course Highlights: ✅ Generative AI Integrated Curriculum ✅ Live Projects & Case Studies ✅ Internship Opportunities ✅ 100% Placement Assistance ✅ Online & Offline Training ✅ Industry-Recognized Certification
Don't just learn Data Analytics—master it with the power of AI and prepare yourself for the jobs of tomorrow.
🌐 Visit: https://gvtacademy.com/data-analytics-course-noida/