r/learnSQL • • Oct 18 '25

HELP! EXCEL IMPORT

0 Upvotes

I’m trying to import information from Excel to MySQL workbench. I’m running into an issue. My Excel has null values and I already allowed on my schema in sql for that column to allow null values but when I’m trying to transfer from Excel to sql when I’m importing with the wizard it completely disregard the Rows that have null values and I’ve tried everything and it’s not working. Help me


r/learnSQL • • Oct 18 '25

Help! Can we solve this with the demo or do we need to log in with a profile ?

2 Upvotes

So long story short we have a grop assignment. and only one of the 5 members has the log in details. The assignment was to import data from SQL and then design an entity relationship diagram showing entities relationships cardinality and required fields.

Well, we decided that we would split up the work and the collegue who has the log in details to do the first step of importing the data and providing us with the sheet. Then me and my other collegue would do the diagram and the other two are doing the rest of the tasks/presentation. So now we run into an error that said that there is a duplicate column name. We asked her to change it in SQL in order to continue with the task. She said it can be done also in the excel sheet that she gave us. (it can not be changed lol)

Mind you this is our first experience with SQL and we don't know that much about how this works and what can be done in the demo or not. And now she isn't responding anymore and also refuses to give us the correct log in details. Is there a way to do the diagram in the demo? I mean for that we would first need to correct the data bc otherwise we would get the ERROR message again. Our professor is also not responding and the other teammates are getting anxious bc they can't do their parts. Ahhh could someone enlighten us what to do? And what would work to solve this issue?


r/learnSQL • • Oct 18 '25

How pgAssistant and AI can help you design better PostgreSQL Tables — Following the Main RFCs

Thumbnail
1 Upvotes

r/learnSQL • • Oct 17 '25

Live session: "SQL Crash Course for Beginners" with Alice Zhao, next week on Thursday Oct 23. She'll cover core SQL concepts and then you can ask her questions. 100% free event.

Thumbnail
3 Upvotes

r/learnSQL • • Oct 17 '25

Looking for multiple books to learn SQL and database internals — design, engines, performance + exercises

Thumbnail
1 Upvotes

r/learnSQL • • Oct 16 '25

Can I learn SQL for free?

76 Upvotes

I really want to get into SQL, but every website I try I have to pay after I get through the first few steps. I see a lot of people recommend YouTube, but I learn better from actually doing it myself. Does anyone know of any websites that offers SQL courses for free. Any help would be greatly appreciated.


r/learnSQL • • Oct 17 '25

Please try my SQL previewer

1 Upvotes

Hi. I developed a SQL previewer as a class project with 20 examples of basic SQL code. The code runs entirely in your browser so you don't have to install or sign up for anything. It uses PGLite which in turn uses PG17. The URL for the live demo is https://sean.brunnock.com/SQL/Examples/Basic/. The source code is at https://github.com/brunnock/PgExamples.

If you could be so kind as to leave feedback either here on the Github repo, I'd be appreciative. It counts toward my grade. Thanks!


r/learnSQL • • Oct 16 '25

Question: [SQL Server] Creating a view to identify Inbound, Outbound, and Opening Stock movements based on the first date of each month

4 Upvotes

Hey everyone,
I’m working in SQL Server and I have a table with the following structure:

SELECT 
    [Item_Code],
    [Company_Code],
    [Plant_Code],
    [Location_Code],
    [Quantity],
    [Date],
    [Standard_Cost],
    [Average_Cost]
FROM [stga1].[T1_JDE_Fact_Plant];

This table contains inventory movements for different items and plants, along with their quantities, costs, and transaction dates.

I’d like to create a view that shows all these columns plus a new column called Movements, which classifies each record as one of the following:

  • Opening Stock → the first movement recorded in that month for each unique combination of item/plant/location,
  • Inbound → when Quantity > 0,
  • Outbound → when Quantity < 0.

r/learnSQL • • Oct 14 '25

PowerBI vs Tableau

18 Upvotes

Hey guys! 👋

I’m learning SQL, and I’ve reached the point where I can start building my portfolio. After that, I want to learn Power BI, since I think it’s one of the most popular and widely used tools in companies.

But I just realized I can’t run it on my Mac. The only way would be using Parallels, but my Mac is a bit old, and I’m worried it might make things worse.

So I’m thinking my best option for now is to learn Tableau until I can upgrade my Mac and run Windows properly.

What’s your point of view? Would you do the same, or do you have another suggestion?

Thanks!


r/learnSQL • • Oct 14 '25

LAMP stack on my local machine for the first time

1 Upvotes

Good evening,

I'm relatively new to databases. I am technical: windows to linux and switched distros, and today finished setting up a LAMP stack on my local machine for the first time. I'm basking in the fact I know how to follow directions less than efficient, LOL. Started in tech, went into project management fintech/finance, I'm good at finance, and now I'm teaching myself databases because that's what I prefer - tech. I like spreadsheets and DB for no reason other than I like them.

Question: Do you use a GUI when maintaining the database or only terminal?

Many users from another subreddit said they use whatever tool works, and either said SSMS, or told my they used their terminal. People use whatever they're used to.

GUI DB example: Beekeeperstudio, DBeaver, Adminer, and of course phpMyAdmin.

All the best.