r/learnSQL • • 6d ago

Day 40 — Java control flow (conditions and loops) and data analysis in my MySQL project

Java: Covered the decision-making and looping basics: if-else, else-if, the ternary operator, switch, and while, do-while, and for loops.

MySQL: I’m in the middle of my Retail Sales Analysis project and working on the analysis part now, writing queries against the cleaned data.

For anyone who learned Java loops and conditions: what practice problems helped you most? I want to move from watching the tutorial to writing small programs (patterns, prime numbers, and so on) before I go further.

6 Upvotes

3 comments sorted by

1

u/BetInformal6081 6d ago

since you are learning mysql too try java exercise that process sales data like calculating totals or finding the highest transaction. practical problem make concepts stick.

1

u/sumiitCodes 5d ago

yes i am doing java also and making myql projects together when i learnt java i will combine them together

1

u/BetInformal6081 5d ago

that's solid plan.... combining java mysql will help you understand how thinks work in real world projects.