r/SQL • • May 21 '26

Discussion Help me out !

I've just started SQL from Data with Baara ~ 30hr course
For the course he used Microsoft SQL, but I'm a Mac user
what should I do ?

2 Upvotes

15 comments sorted by

1

u/luluinTO May 21 '26

Hey, I did his course too and I have a Mac but I practiced PostgreSQL. His course is perfect to learn what’s happening behind the scenes and all of the code transfers really cleanly - except a few functions which you could ask ChatGpt or Claude. It doesnt seem like there’s a hell of a lot of difference at least while learning SQL.

I’d say use AI chat to see how/what things are different. Use Data with Baraa course to understand code, logic, behind the scenes action and supplement with Claude or another GPT.

And practice PostgreSql in table plus or something if you’re not specific about Microsoft SQL. If you want to learn specifically that for whatever reason - then get a virtual machine and run that on your mac but it’ll make it slow. Virtual machines makes windows OS available on Mac and works like any app but can be slow and annoying so I don’t recommend.

Hope this helps! Best of luck in your learning :)

1

u/EnvironmentalLab3891 Sep 03 '26

Can we use MySQL workbench and MySQL database server for Baraa's course ? Will it be too different since he is using Microsoft SQL server and SSMS?

1

u/SQLDevDBA May 21 '26

Azure SQL DB has a free tier you can use for free, and you can use tools like DBeaver community edition to connect to them from your Mac. I use it as part of my homelab. The database engine runs in the cloud and there are no SQL server installs to do. Just activation.

https://learn.microsoft.com/en-us/azure/azure-sql/database/free-offer?view=azuresql

https://learn.microsoft.com/en-us/azure/azure-sql/database/free-offer-faq?view=azuresql

1

u/ComicOzzy sqlHippo May 22 '26

Don't make it harder than it needs to be. His videos aren't the best thing out there for you to learn from, so there's no need to stick with them if you can't install SQL Server.

Get the book "Practical SQL" by DeBarros, then install https://postgresapp.com/. Work through all of the things in the book.

1

u/Consistent-Leader-24 May 22 '26

I'll look into it, thank you señor !

1

u/navicat-gu 1d ago

You can follow that course on a Mac. SQL Server just runs in Docker instead of being installed directly:

  1. Install Docker Desktop. On an Apple Silicon Mac, go to Settings → General and turn on "Use Rosetta for x86_64/amd64 emulation".
  2. Start SQL Server:
docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=Str0ng!Passw0rd" \
  -p 1433:1433 --name sql1 -d mcr.microsoft.com/mssql/server:2022-latest

The password has to meet SQL Server's complexity rules (8+ characters, with upper case, lower case, a digit and a symbol). If it doesn't, the container quietly exits. Weak passwords cause most of the "login failed" errors people hit on Mac.

  1. Connect with server localhost,1433, user sa and that password.
  2. If the course gives you a .bak file, copy it into the container (docker cp file.bak sql1:/var/opt/mssql/data/) and restore it. Use RESTORE ... WITH MOVE if it complains about file paths.

For the GUI, Azure Data Studio has been retired, so most Mac users now use VS Code with Microsoft's "SQL Server (mssql)" extension. DBeaver Community also works. The T-SQL in the course is the same whatever client you use.

Disclosure: I'm RC, Director of Digital Strategy @ Navicat. Navicat 18 runs natively on macOS and connects to SQL Server in Docker the same way (localhost, port 1433). Navicat Premium Lite is the free edition, and it's enough for a course like this.

1

u/okieepoco May 23 '26

same thing happened with me, i have been in this problem for two days and first i installed mysql but codes and commands are a little different then to download microsoft sql, i downloaded docker but cant install it so what should i do? i wanna learn from data with baraa course cuz its easier to understand

1

u/RicoSaas May 27 '26

postgresql is probably your best bet on mac. just brew install postgresql@17 and you're up in like 2min. mysql works too (brew install mysql).

For a gui to actually write queries: pgAdmin (free, web based), DBeaver (free, handles most dbs), or TablePlus (native mac app, has a free tier).

the sql from your baara course will transfer like 95% to postgres. main differences are small stuff, TOP becomes LIMIT, ISNULL becomes COALESCE, date functions are different. honestly learning on postgres instead of sql server might be better for you long term, the docs are amazing and it's super in demand rn.

0

u/ElHombrePelicano May 21 '26

I bet google knows.